fix home button
This commit is contained in:
@@ -7,6 +7,7 @@ using UVC.UI.Toolbar.Model;
|
|||||||
using UVC.UI.ToolBar;
|
using UVC.UI.ToolBar;
|
||||||
using OCTOPUS_TWIN.UI;
|
using OCTOPUS_TWIN.UI;
|
||||||
using HyundaiWIA.Command;
|
using HyundaiWIA.Command;
|
||||||
|
using UnityEngine.SceneManagement;
|
||||||
|
|
||||||
namespace HyundaiWIA.UI
|
namespace HyundaiWIA.UI
|
||||||
{
|
{
|
||||||
@@ -59,8 +60,7 @@ namespace HyundaiWIA.UI
|
|||||||
//홈 화면 돌아가기
|
//홈 화면 돌아가기
|
||||||
toolbarModel.AddStandardButton("홈 화면 돌아가기",
|
toolbarModel.AddStandardButton("홈 화면 돌아가기",
|
||||||
$"{ResourceURL.uiSpriteFolderPath}TopToolBar/IMG_Exit",
|
$"{ResourceURL.uiSpriteFolderPath}TopToolBar/IMG_Exit",
|
||||||
new ActionCommand(() => Debug.Log("홈 화면 돌아가기")),
|
new ActionCommand(() => SceneManager.LoadScene("SystemScene")));
|
||||||
"홈 화면 돌아가기 창을 엽니다.");
|
|
||||||
|
|
||||||
topToolBox.SetData(toolbarModel);
|
topToolBox.SetData(toolbarModel);
|
||||||
topToolBox.Initialize();
|
topToolBox.Initialize();
|
||||||
|
|||||||
Reference in New Issue
Block a user