Unable to modify game object in scene
Hi,
I am using the code "someGameObject.SetActive(false);" on button click but for some reason it doesn't modify the game object in my scene but disables the game object in my prefab. Anyone know why? thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612100224im_/https://answers.unity.com/themes/thub/images/avi.jpg)