프로젝트 Common 스크립트 추가
This commit is contained in:
19
Gameton-06/Assets/Gameton/Scripts/UI/TitleUI.cs
Normal file
19
Gameton-06/Assets/Gameton/Scripts/UI/TitleUI.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TON
|
||||
{
|
||||
public class TitleUI : UIBase
|
||||
{
|
||||
public void OnClickStartButton()
|
||||
{
|
||||
Main.Singleton?.ChangeScene(SceneType.Ingame);
|
||||
}
|
||||
|
||||
public void OnClickExitButton()
|
||||
{
|
||||
Main.Singleton?.SystemQuit();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user