Extensions for il2cpp reference arrays
public static class Il2CppReferenceArray
Inheritance System.Object Il2CppReferenceArray
Return whether or not there are any elements in this
public static bool Any<T>(this Il2CppReferenceArray<T> source)
where T : Object;
T
source
Il2CppInterop.Runtime.InteropTypes.Arrays.Il2CppReferenceArray
Return whether or not there are any elements in this that match the predicate
public static bool Any<T>(this Il2CppReferenceArray<T> source, System.Func<T,bool> predicate)
where T : Object;
T
source
Il2CppInterop.Runtime.InteropTypes.Arrays.Il2CppReferenceArray
predicate
System.Func<T,System.Boolean>
Return the index of the element that matches the predicate
public static int FindIndex<T>(this Il2CppReferenceArray<T> source, System.Func<T,bool> predicate)
where T : Object;
T
source
Il2CppInterop.Runtime.InteropTypes.Arrays.Il2CppReferenceArray
predicate
System.Func<T,System.Boolean>
Performs the specified action on each element
public static void ForEach<T>(this Il2CppReferenceArray<T> source, System.Action<T> action)
where T : Object;
T
source
Il2CppInterop.Runtime.InteropTypes.Arrays.Il2CppReferenceArray
action
System.Action<T>
Action to preform on each element