Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     player           = GameObject.Find("Pickles(Clone)");
     playerController = player.GetComponent <PlayerController>();
     iceGenerator     = GameObject.Find("IceGenerator");
     ice           = iceGenerator.GetComponent <ice>();
     statusCounter = GameObject.Find("Canvas").GetComponent <StatusCounter>();
 }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     Destroy(gameObject, 2.3f);
     ics = GameObject.Find("GameManager").GetComponent <ice>();
 }