public void new_game()
        {
            if (state != State.ready)
            {
                return;
            }

            if (instruction_text)
            {
                instruction_text.gameObject.SetActive(false);
            }

            scoring.reset();
            UI_Scoring.Display(true);

            level_progression = make_level_progression();
            next_wave();
        }
Пример #2
0
 void Start()
 {
     current = this;
     UI_Scoring.Display(false); // Turn it off only at the beginning, then keep it that way after started.
 }