Answers for "find gameobject that aren't active with tag unity"

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
1

unity check gameobject active

if (gameObject.activeInHierarchy)
Posted by: Guest on May-29-2021

Code answers related to "find gameobject that aren't active with tag unity"

C# Answers by Framework

Browse Popular Code Answers by Language