using System; using com.workman.cm3d2.scene.dailyEtc; using Schedule; using UnityEngine; public class Debug_mgr : MonoBehaviour { private void Start() { GameObject f_goParent = GameObject.Find("/UI Root"); this.mgr = UTY.GetChildObject(f_goParent, "Manager", false).GetComponent(); } public void OpenDaytimePanel() { ScheduleAPI.DayStartManage(); int[] facilityPowerUpMaterialIDArray = FacilityDataTable.GetFacilityPowerUpMaterialIDArray(); foreach (int materialID in facilityPowerUpMaterialIDArray) { GameMain.Instance.FacilityMgr.SetHavePowerUpMaterial(materialID, true); } this.mgr.GetManager().OpenDaytimePanel(); } public void OpenNightPanel() { this.mgr.GetManager().OpenNightPanel(); } public void CloseDailyPanel() { this.mgr.GetManager().CloseDailyPanel(); } public void OpenResultDaytimePanel() { this.mgr.GetManager().OpenResultDaytimePanel(); } public void OpenResultNightPanel() { this.mgr.GetManager().OpenResultNightPanel(); } public void OpenResultIncomePanel() { this.mgr.GetManager().OpenResultIncomePanel(); } public void OpenStatusPanel() { } public void OpenUserEditPanel() { this.mgr.GetManager().OpenUserEditPanel(); } public void OpenStartDailyPanel() { this.mgr.GetManager().OpenStartDailyPanel(); } public void OpenMaidExaminationPanel() { this.mgr.GetManager().OpenMaidExaminationPanel(null, null, null); } public void CloseMaidExaminationPanel() { this.mgr.GetManager().CloseMaidExaminationPanel(); } public void OpenStaffRollPanel() { this.mgr.GetManager().OpenStaffRollPanel(); } public void OpenStatusPanelForChuBLip() { } public void UpdateStatusPanelForChuBLip() { } public void OpenProfilePanelForChuBLip() { } public void CloseProfilePanelForChuBLip() { } private const string uiRootPath = "/UI Root"; private SceneMgr mgr; }