unity how to check the index of an object in array code example
Example: unity c# find object position in array
//C# Unity finding an object in an array
int positionInArray = System.Array.IndexOf(arrayName, objectToFind);
//C# Unity finding an object in an array
int positionInArray = System.Array.IndexOf(arrayName, objectToFind);