Object IDs

Hey there,

I just want to know if there is any kind of object id that i can use to directly manipulate / control objects within my scene. For example object15.setenabled(false);

Or do I always have to search by name / tag and then get the GameObject for this specific object?

So whats the best way to interact with objects within the script? Using C# btw. :slight_smile:

Anyone?

I don’t think there is a method to instantly grab a gameobject by its InstanceID. What you can do is create an array of references and either assign them in the editor, or at runtime.