Hi,
For some reason i’m calling “someGameObject.SetActive(false);” on button click and it modifies the game object in the prefab folder but not in the game scene. I have no idea why this is happening. Anyone know why? Thanks!
Hi,
For some reason i’m calling “someGameObject.SetActive(false);” on button click and it modifies the game object in the prefab folder but not in the game scene. I have no idea why this is happening. Anyone know why? Thanks!
Hi,
Your ‘someGameObject’ probably refers to a prefab in your Assets folder and not to the instance of this object in your scene.
Can you check that ?