option button 액션 추가
This commit is contained in:
@@ -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"))
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user