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.

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.

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