Method TryGetRecords
TryGetRecords(Ordering)
Try to retrieve records currently in buffer.
Declaration
[GenerateTestsForBurstCompatibility(RequiredUnityDefine = "(UNITY_EDITOR || DEVELOPMENT_BUILD) && !DISABLE_ENTITIES_JOURNALING")]
public static EntitiesJournaling.RecordViewArray TryGetRecords(EntitiesJournaling.Ordering ordering)
Parameters
Type | Name | Description |
---|---|---|
EntitiesJournaling.Ordering | ordering |
Returns
Type | Description |
---|---|
EntitiesJournaling.RecordViewArray | Array of record view. |
Remarks
Throws InvalidOperationException if records are currently locked for write.