예제 #1
0
        public virtual GameState OnInput(QuizMain game_instance, Atomic.ButtonEvent input)
        {
            //return null;

            if (input == Atomic.ButtonEvent.Menu)
            {
                Data.Reset();
            }

            return(null);
        }
예제 #2
0
        void TickTimer()
        {
            if (time > 0)
            {
                time -= Time.deltaTime;
            }
            else
            {
                //Data.Reset ();
                Data.Reset();


                Atomic.EventManager.GetInstance().LoadScene("Menu");
            }
        }