| 12345678910111213141516171819202122 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.SceneManagement;
- using UnityEngine.UI;
- public class SceneLoader : MonoBehaviour
- {
- AsyncOperation LoadingOperation;
- // Start is called before the first frame update
- void Start()
- {
- LoadingOperation = SceneManager.LoadSceneAsync("DemoScene");
- }
- // Update is called once per frame
- void Update()
- {
- }
- }
|