no I mean I change the layer use int layer, but how I can acces it without int layer at first. That script tell int layer first, then we can acces it with gameobject.layer. without int layer, how can I know the layer number that's I want to know, if is is can
There's definitely a language barrier here, but without a gameObject there is no gameObject layer to check. That's all I can say haha
hhmm ok, what I want to make is, I have gameobject a b and c, but when I click it a want that gameobject that I clik move upper behind other object, for example 1. object a b and c at layer 0, but when I click object b that object b move to layer 1 and become the upper object at 2d, then after that If I click object c that object c move to the upper layer than a and b. How can I make it if u have any idea