option button 액션 추가

This commit is contained in:
aube.lee
2025-02-04 22:59:42 +09:00
parent 1d0f9aaa9a
commit 18e60311a6

View File

@@ -1,6 +1,7 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace TON
{
@@ -12,10 +13,18 @@ namespace TON
UIManager.Show<IngameOptionUI>(UIList.IngameOptionUI);
}
// Update is called once per frame
void Update()
public void OnClickOptionButton()
{
Scene activeScene = UnityEditor.SceneManagement.EditorSceneManager.GetActiveScene();
if (activeScene.name.Equals("Lobby"))
{
//
}
else if (activeScene.name.StartsWith("Stage"))
{
//
}
}
}
}