Table of Contents

ManagedShell Class

public static class ManagedShell
Inheritance
ManagedShell

Methods

Dispose(ICollection<Transform?>, float)
Dispose(ref ICollection<Transform?>, float)
Dispose(IDictionary<Transform, Transform?>, float)
Dispose(ref IDictionary<Transform, Transform?>, float)
Dispose(List<Transform?>, float)
Dispose(ref List<Transform?>, float)
Dispose(Transform?[], float)
Dispose(ref Transform?[], float)
Dispose(ref Transform, float)
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>(IDictionary<Transform, T?>, float)
Dispose<T>(ref IDictionary<Transform, T?>, float)
Dispose<T>(IDictionary<T, Transform?>, float)
Dispose<T>(ref IDictionary<T, Transform?>, float)
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.