기술 자료

Unity Engine

Unity Engine

SetAllowSecondaryVersionWriting(AtomicSafetyHandle, bool)

Sets whether other AtomicSafetyHandles that use a secondary version number can write to the NativeContainer protected by a given AtomicSafetyHandle.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static void SetAllowSecondaryVersionWriting(AtomicSafetyHandle handle, bool allowWriting)

Parameters

The AtomicSafetyHandle of the NativeContainer.

allowWriting

If true, allows write access to the NativeContainer for AtomicSafetyHandles that use secondary version number. If false, handles that usse a secondary version number only have read access to the NativeContainer.

Remarks