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
Your answer
![](https://koobas.hobune.stream/wayback/20220612140602im_/https://answers.unity.com/themes/thub/images/avi.jpg)