ManagedShell Class
- Namespace
- SatorImaging.UnityFundamentals
public static class ManagedShell
- Inheritance
-
ManagedShell
Methods
- DisposeGameObject<T>(ICollection<T?>, float)
For readonly collection to dispose only elements.
Use ref overload instead to dispose elements and collection together.
- DisposeGameObject<T>(ref ICollection<T?>, float)
Dispose objects in collection and collection together.
- DisposeGameObject<T>(List<T?>, float)
For readonly collection to dispose only elements.
Use ref overload instead to dispose elements and collection together.
- DisposeGameObject<T>(ref List<T?>, float)
Dispose objects in collection and collection together.
- DisposeGameObject<T>(ref T, float)
This method ensures variable doesn't have reference to deleted component. Especially useful when destroying GameObject by Transform reference.
- DisposeGameObject<T>(T?[], float)
For readonly collection to dispose only elements.
Use ref overload instead to dispose elements and collection together.
- DisposeGameObject<T>(ref T?[], float)
Dispose objects in collection and collection together.
- DisposeGameObject<TKey, TValue>(IDictionary<TKey, TValue?>, float)
For readonly collection to dispose only elements.
Use ref overload instead to dispose elements and collection together.
- DisposeGameObject<TKey, TValue>(ref IDictionary<TKey, TValue?>, float)
Dispose objects in collection and collection together.
- Dispose<T>(ICollection<T?>, float)
For readonly collection to dispose only elements.
Use ref overload instead to dispose elements and collection together.
- Dispose<T>(ref ICollection<T?>, float)
Dispose objects in collection and collection together.
- Dispose<T>(List<T?>, float)
For readonly collection to dispose only elements.
Use ref overload instead to dispose elements and collection together.
- Dispose<T>(ref List<T?>, float)
Dispose objects in collection and collection together.
- Dispose<T>(ref T, float)
NOTE: Do nothing when obj is null or Transform component.
- Dispose<T>(T?[], float)
For readonly collection to dispose only elements.
Use ref overload instead to dispose elements and collection together.
- Dispose<T>(ref T?[], float)
Dispose objects in collection and collection together.
- Dispose<TKey, TValue>(IDictionary<TKey, TValue?>, float)
For readonly collection to dispose only elements.
Use ref overload instead to dispose elements and collection together.
- Dispose<TKey, TValue>(ref IDictionary<TKey, TValue?>, float)
Dispose objects in collection and collection together.