Ejemplo n.º 1
0
 private void StartNewRound()
 {
     globals.globalHoles = 0;
     wallCon.AddHoles(holesAddedPerRound);
     roundsSurvived++;
     timer.ResetTime();
     timer.StartTimer();
     betweenRounds = false;
 }
Ejemplo n.º 2
0
    private void Start()
    {
        fillCon   = gameObject.GetComponent <WaterFillController>();
        timer     = gameObject.GetComponent <timerScript>();
        wallCon   = gameObject.GetComponent <WallController>();
        raycaster = gameObject.GetComponent <globals>();

        timer.StartTimer();
    }