Beispiel #1
0
    public void RestartGame()
    {
        // Disables game over screen
        uiUpdater.DisableCanvas();

        // Resets and starts target spawner
        targetSpawner.ResetAndStartSpawner();
    }
Beispiel #2
0
 private void Start()
 {
     uiUpdater     = FindObjectOfType <UIUpdater>();
     targetSpawner = FindObjectOfType <TargetSpawner>();
     uiUpdater.DisableCanvas();
 }