feat(Button): 实现按钮预制体,测试倒计时功能,添加从测试开始的按钮
This commit is contained in:
@@ -4,9 +4,10 @@ namespace UI
|
||||
{
|
||||
public class StartGameButton : UIBase
|
||||
{
|
||||
public string levelName = "Level1";
|
||||
public void StartGame()
|
||||
{
|
||||
ScenesManager.Instance.LoadGameplay("Level1");
|
||||
ScenesManager.Instance.LoadGameplay(levelName);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user