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