Exemple #1
0
 // Use this for initialization
 void Start()
 {
     gameOver        = 0;
     keepAndSetScore = GetComponent <KeepAndSetScore>();
     timeToWait      = Random.Range(2f, 3f);
     StartCoroutine(spawn());
 }
Exemple #2
0
 void Awake()
 {
     flyTrigger      = flyTriggerMissed.GetComponent <FlyTrigger>();
     keepAndSetScore = gameManager.GetComponent <KeepAndSetScore>();
 }