This commit is contained in:
aube.lee
2025-03-01 20:09:59 +09:00
21 changed files with 1082 additions and 84 deletions

View File

@@ -195,6 +195,13 @@ namespace TON
public void OnClickCloseButton()
{
StartCoroutine(CloseButtonDelay());
}
IEnumerator CloseButtonDelay()
{
yield return new WaitForSeconds(0.2f); // 0.2초 대기
UIManager.Hide<SkillSettingUI>(UIList.SkillSettingUI);
}
}

View File

@@ -7,14 +7,6 @@ namespace TON
public class TitleUI : UIBase
{
public CharaterSelectUI charaterSelectUI;
AudioSource _buttonAudio;
private void Start()
{
_buttonAudio = gameObject.AddComponent<AudioSource>();
DontDestroyOnLoad(this.transform.parent.gameObject);
}
public void OnClickStartButton()
{
@@ -23,7 +15,7 @@ namespace TON
IEnumerator StartButtonDelay()
{
yield return new WaitForSeconds(1f); // 1초 대기
yield return new WaitForSeconds(0.2f); // 0.2초 대기
// Main.Singleton?.ChangeScene(SceneType.Ingame);
UIManager.Hide<TitleUI>(UIList.TitleUI);