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

DisposeSentinel

class in Unity.Collections.LowLevel.Unsafe

/

Implemented in:UnityEngine.CoreModule

Description

DisposeSentinel is used to detect memory leaks.

It becomes available by defining the ENABLE_UNITY_COLLECTIONS_CHECKS symbol.

See Also: the example in NativeContainerAttribute.

Static Methods

ClearClear sentinel.
CreateCreate sentinel.
DisposeDispose safety handle and sentinel.

Delegates

DeallocateDelegateDeallocate delegate.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答