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

public static bool GetAllowReadOrWriteAccess(Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle);

Parameters

handleSafety handle.

Description

Returns true if the AtomicSafetyHandle is configured to allow reading or writing.

Read and write access is allowed by default in any newly created AtomicSafetyHandle.

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