![]() |
Depiction Engine For Unity 2023.0 (Alpha)
|
Manager handling the pooling or destruction of objects. More...
Static Public Member Functions | |
| static void | Dispose (object obj) |
| Will dispose of an object by sending it to the pool if pooling is enabled, it implements DepictionEngine.IDisposable and no DepictionEngine.DisposeContext is specified. Otherwise it will be destroyed. | |
| static void | Dispose (object obj, DisposeContext disposeContext) |
| Will dispose of an object by sending it to the pool if pooling is enabled, it implements DepictionEngine.IDisposable and no DepictionEngine.DisposeContext is specified. Otherwise it will be destroyed. | |
| static void | Destroy (UnityEngine.Object unityObject, DisposeContext disposeContext=DisposeContext.Programmatically_Destroy) |
| Destroy any UnityEngine.Object. | |
| static bool | IsNullOrDisposing (object obj) |
| static bool | IsUnityNull (object obj) |
| static void | DisposingContext (Action callback, DisposeContext disposingContext) |
| static bool | TriggerOnDestroyIfNull (IScriptableBehaviour scriptableBehaviour) |
Static Public Attributes | |
| static DisposeContext | disposingContext = DisposeContext.Editor_Unknown |
Manager handling the pooling or destruction of objects.
|
static |
Destroy any UnityEngine.Object.
| unityObject | The UnityEngine.Object. |
| disposeContext | The context under which the object is being destroyed. |
|
static |
Will dispose of an object by sending it to the pool if pooling is enabled, it implements DepictionEngine.IDisposable and no DepictionEngine.DisposeContext is specified. Otherwise it will be destroyed.
| obj | The object to dispose. |
|
static |
Will dispose of an object by sending it to the pool if pooling is enabled, it implements DepictionEngine.IDisposable and no DepictionEngine.DisposeContext is specified. Otherwise it will be destroyed.
| obj | The object to dispose. |
| disposeContext | The context under which the object is being destroyed. |