diff --git a/Assets/Scripts/HyundaiWIA/Scripts/TopMenuPanel.cs b/Assets/Scripts/HyundaiWIA/Scripts/TopMenuPanel.cs index 79ce5d63..771fe276 100644 --- a/Assets/Scripts/HyundaiWIA/Scripts/TopMenuPanel.cs +++ b/Assets/Scripts/HyundaiWIA/Scripts/TopMenuPanel.cs @@ -7,6 +7,7 @@ using UVC.UI.Toolbar.Model; using UVC.UI.ToolBar; using OCTOPUS_TWIN.UI; using HyundaiWIA.Command; +using UnityEngine.SceneManagement; namespace HyundaiWIA.UI { @@ -57,10 +58,9 @@ namespace HyundaiWIA.UI "설정 창을 엽니다."); //홈 화면 돌아가기 - toolbarModel.AddStandardButton("홈 화면 돌아가기", + toolbarModel.AddStandardButton("홈 화면 돌아가기", $"{ResourceURL.uiSpriteFolderPath}TopToolBar/IMG_Exit", - new ActionCommand(() => Debug.Log("홈 화면 돌아가기")), - "홈 화면 돌아가기 창을 엽니다."); + new ActionCommand(() => SceneManager.LoadScene("SystemScene"))); topToolBox.SetData(toolbarModel); topToolBox.Initialize();