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); } } }
private void Start() { StartGame(); CursorLockManager.UseMouse(this); }
public override void StartGame() { CursorLockManager.UseMouse(this); }