public class GameManager : MonoBehaviour { public void OnStartGame(int sceneName) { SceneManager.LoadScene(sceneName); } }