Method RemoveDestroyedObjects
RemoveDestroyedObjects<T>(List<T>)
Removes any destroyed UnityObjects from a list.
Declaration
public static void RemoveDestroyedObjects<T>(List<T> list) where T : Object
Parameters
Type | Name | Description |
---|---|---|
List<T> | list | A list of UnityObjects that may contain destroyed objects. |
Type Parameters
Name | Description |
---|---|
T | The specific type of UnityObject in the dictionary. |