📜  unity gameobject.findobjectswith tag set active - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:02.511000             🧑  作者: Mango

代码示例1
//ESEMPIO

public GameObject Player;

public void Start()
{
    Player = GameObject.FindGameObjectWithTag("PLAYER TAG").SetActive(false);
}