I'm working on a game with 9 individual rooms in a 3x3 grid. I have a Spawner object in the center of each room (The same object, different instances) and I need to number them according to their room. Since they are all the same object I can't just put the room number in a instance variable during editing. I also can't use multiple objects due to other reasons.
So how can I number an instance variable based on my decision?