I’ve started to get a better idea of how the Unity Editor works, to the point where I don’t have to go to the documentation as much to find answers to questions. I’m getting to the point now where I’m starting to think about best practices in regards to doing certain things with Unity. One situation that I keep running into is finding game objects that aren’t connected to each other. When I know there will be only 1 of them, I’ve been searching by name, but that uses a string reference and string references make me a bit uncomfortable. Similar problem with Tags.
Would it be acceptable to create an empty class/script on a game object that’s there purely for the purpose of searching? Is there a better way to do this sort of thing that doesn’t require a string reference?