using UnityEngine; using Core; using Script.Gameplay.Input; using Script.Gameplay.Global; namespace UI { public class StartGameButton : UIBase { public string levelName = "Level1"; public void StartGame() { if (levelName == "Level1") GameManager.Instance.StartGameplay(); else if (levelName == "Test") GameManager.Instance.StartTest(); InputManager.Instance.SetCursorState(false, CursorLockMode.Locked); } } }