public void StopGame() { carManager.SetCarSpeed(0); streetMover.speed = 0; carManager.CancelInvoke(); streetMover.CancelInvoke(); CancelInvoke(); }
public void StopGame() { carManager.SetCarSpeed(0); streetMover.speed = 0; carManager.CancelInvoke(); streetMover.CancelInvoke(); CancelInvoke(); }