2025-10-14 12:39:53 +08:00
|
|
|
using UnityEngine;
|
|
|
|
using Core;
|
|
|
|
namespace UI
|
|
|
|
{
|
|
|
|
public class StartGameButton : UIBase
|
|
|
|
{
|
2025-10-20 09:34:22 +08:00
|
|
|
public string levelName = "Level1";
|
2025-10-14 12:39:53 +08:00
|
|
|
public void StartGame()
|
|
|
|
{
|
2025-10-20 09:34:22 +08:00
|
|
|
ScenesManager.Instance.LoadGameplay(levelName);
|
2025-10-14 12:39:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|