unity gameobject find active code example
Example 1: unity gameobject.findobjectswith tag set active
//ESEMPIO
public GameObject Player;
public void Start()
{
Player = GameObject.FindGameObjectWithTag("PLAYER TAG").SetActive(false);
}
Example 2: unity gameobject.findobjectswith tag set active
GameObject.FindGameObjectWithTag("myTag").SetActive(false);