1234567891011121314151617 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.SceneManagement;
- public class startbutton : MonoBehaviour {
- public void PressQuit()
- {
- Application.Quit();
- }
- public void GameStart()
- {
- GameManager.instance.SwitchScene("main");
- }
- }
|