Answers for "unity gameobject.findobjectswith tag set active"

C#
1

unity gameobject.findobjectswith tag set active

//ESEMPIO

public GameObject Player;

public void Start()
{
	Player = GameObject.FindGameObjectWithTag("PLAYER TAG").SetActive(false);
}
Posted by: Guest on October-22-2020
0

unity gameobject.findobjectswith tag set active

GameObject.FindGameObjectWithTag("myTag").SetActive(false);
Posted by: Guest on October-22-2020

C# Answers by Framework

Browse Popular Code Answers by Language