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