// Initialize clover data and corresponding UIs // And show name pop up to restart public async void Reset() { myClover.c_level = 1; myClover.c_sun_stat = 50; myClover.c_water_stat = 50; myClover.c_energy_stat = 20; myClover.c_name = string.Empty; myClover.c_weather_ID = 0; myClover.c_energy_requirement = 100; SetBugID(-1); SetBugTime(60); await Task.Run(SetData); UpdateStats(); BugTimer.Getbugtimer().UpdateBugTimer(-1); WeatherFunctionOn(false); await PopUp.GetInstance().ShowNamePopUp(); Debug.Log("Reset!"); }