How to hide gameobjects by layers?
I'm currently hiding/showing my gameobjects using this part of the script:(by tags)
GameObject.FindGameObjectWithTag("FIRE").SetActive(false);
However, how do I do the same thing but with layers?
Comment