public virtual GameState OnInput(QuizMain game_instance, Atomic.ButtonEvent input) { //return null; if (input == Atomic.ButtonEvent.Menu) { Data.Reset(); } return(null); }
void TickTimer() { if (time > 0) { time -= Time.deltaTime; } else { //Data.Reset (); Data.Reset(); Atomic.EventManager.GetInstance().LoadScene("Menu"); } }