public override void StartGame()
 {
     CursorLockManager.UseMouse(this);
     TimeStarted = Time.time;
     for (int y = 0; y < 3; y++)
     {
         for (int x = 0; x < 3; x++)
         {
             Fires[x, y] = Instantiate(FirePrefab, FiredGrid).GetComponent <WhackAFireFire>();
             Fires[x, y].SetReferences(BigFire, MediumFire, SmallFire, this);
         }
     }
 }
예제 #2
0
 private void Start()
 {
     StartGame();
     CursorLockManager.UseMouse(this);
 }
예제 #3
0
 public override void StartGame()
 {
     CursorLockManager.UseMouse(this);
 }