how to deactivate gameobject in unity code example Example: deactivate a gameobject unity public void SetActive(bool value);