feat(Button): 实现按钮预制体,测试倒计时功能,添加从测试开始的按钮

This commit is contained in:
2025-10-20 09:34:22 +08:00
parent fc91a61930
commit 7c826ceba4
13 changed files with 1859 additions and 11 deletions

View File

@@ -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);
}
}
}