CheckWriteAndBumpSecondaryVersion(AtomicSafetyHandle)
Check whether the referenced native container can be written to and increment the secondary version number if so.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]public static void CheckWriteAndBumpSecondaryVersion(AtomicSafetyHandle handle)
Parameters
The AtomicSafetyHandle to check.
Remarks
For more information about native container version numbers, refer to Copying NativeContainer structures.