diff --git a/Assets/LYM/Scenes/HousingUI.unity b/Assets/LYM/Scenes/HousingUI.unity index 9ac9b771..65d706f7 100644 --- a/Assets/LYM/Scenes/HousingUI.unity +++ b/Assets/LYM/Scenes/HousingUI.unity @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cdff5164f9c4f1522d65c5cebef443727d168031ae6dffc620530961dcc9abee -size 128337 +oid sha256:1741fc6ceab55b831544edbd516dc393bb09cf65544e138ee61264bbd21cb98a +size 117507 diff --git a/Assets/LYM/Scripts/MainUIPanelController.cs b/Assets/LYM/Scripts/MainUIPanelController.cs index 39094259..4109a5cc 100644 --- a/Assets/LYM/Scripts/MainUIPanelController.cs +++ b/Assets/LYM/Scripts/MainUIPanelController.cs @@ -8,8 +8,7 @@ public class MainUIPanelController : MonoBehaviour public void OnClickStartButton() { - var popupPanel = GameManager.Instance.PanelManager.GetPanel("PopupPanel"); - popupPanel.GetComponent().Show("This is PopupPanel!!", () => {Debug.Log("Confirmed");}, () => {Debug.Log("Canceled");}); + GameManager.Instance.ChangeToHomeScene(); } public void OnClickSettingsButton()