Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

[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.