docs.unity.cn
    Show / Hide Table of Contents

    Method GetRecords

    GetRecords(EntitiesJournaling.Ordering)

    Retrieve records currently in buffer.

    Declaration
    [GenerateTestsForBurstCompatibility(RequiredUnityDefine = "(UNITY_EDITOR || DEVELOPMENT_BUILD) && !DISABLE_ENTITIES_JOURNALING")]
    public static EntitiesJournaling.RecordViewArray GetRecords(EntitiesJournaling.Ordering ordering)
    Parameters
    Type Name Description
    EntitiesJournaling.Ordering ordering
    Returns
    Type Description
    EntitiesJournaling.RecordViewArray

    Array of record view.

    Remarks

    Call will be blocking if records are currently locked for write.

    For this reason, it is not recommended to call this in a debugger watch window, otherwise a deadlock might occur.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023