12345678910111213141516171819202122232425262728 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.SceneManagement;
- public class BetaFinishChangeScene : MonoBehaviour {
- [SceneName]
- public string sceneName;
- private void Start()
- {
- Invoke("LoadScene", 20f);
- }
- public void ChangeScene()
- {
- LoadScene();
- }
- void LoadScene()
- {
- SceneManager.LoadScene(sceneName);
- }
- }
|