-
Notifications
You must be signed in to change notification settings - Fork 0
Hooks.Enumeration
Hooks's Enumeration
nested class contains all utility methods based around enumeration, lists and arrays.
Merges two arrays together.
Checks if the first IEnumerable given contains any element of the second.
Simplified version of Array.Find.
Simplified version of Array.FindIndex.
Itterates through each element in an array and performs an action on it.
Returns a list of object that were passed through UnityObject.Instantiate.
Returns true if all elements are null or if the IEnumerable itself is null.
Returns true if the list contains a type. (Useful to see if a list of base classes contains an inherited class)
Removes all default elements inside a collection.
Removes all null elements inside a collection.
Converts an IEnumerable
into a generic IEnumerable<T>
.