unity set game object on active scene code example Example: unity c# set gameobject active gameObject.SetActive(true)