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