Suppose I have a script attached to a GameObject (let’s call it “my_object”). What I want to do is to call any other GameObject except for the one the script is attached to (in this case, my_object). It should be something like:
void Start () {
GameObject [] objList = GameObject.Find ("Any other object except for this one");
}
How can I do that without putting “my_object” inside the array?