Im just trying to get the index of the child say a parent object with 4 children . Then in each children script I want to get the index int of each child , any idea? thank you for your help
transform.GetSiblingIndex()
Im just trying to get the index of the child say a parent object with 4 children . Then in each children script I want to get the index int of each child , any idea? thank you for your help
transform.GetSiblingIndex()