unity3d gameobject set active code example Example: unity c# set gameobject active gameObject.SetActive(true)