Question by
kingames123456789 · Jul 20, 2017 at 06:47 PM ·
gameobjectprefabsgameobjectssetactive
GameObject - SetActive not working
I used this to activate and deactivate a gameobject : player.SetActive (true); But the game object in project section is deactivatet but not the game object inside the hierarchy? The object in hierarchy cant be dragged in the script import settings.
Comment
Answer by kingames123456789 · Jul 20, 2017 at 06:52 PM
Sry not in the project , in the assets folder
The setactive is effecting prefabs but not prefab instances