예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     player = GameObject.Find("Player").transform;
     drg    = GameObject.Find("Draguinho").GetComponent <Draguinho>();
     isUp   = true;
     StartCoroutine(SpawnStuff());
 }
예제 #2
0
 private void Start()
 {
     draguinho = GameObject.Find("Draguinho").GetComponent <Draguinho>();
 }