Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AtomicSafetyHandle.SetAllowSecondaryVersionWriting

public static void SetAllowSecondaryVersionWriting(Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle, bool allowWriting);

Parameters

handleSafety handle.
allowWritingAllow writing.

Description

Switches the AtomicSafetyHandle to the secondary version number.

Did you find this page useful? Please give it a rating: