Example #1
0
 void Update()
 {
     timer += Time.deltaTime;
     if (timer > birdLaunchInterval)
     {
         SetLaunchInterval();
         timer = 0.0f;
         spawner.SpawnBird();
     }
 }