SceneField
A field to reference scenes. (but your scenes needs to be in the build list)
It is just a path with a PropertyDrawer.
using EODE.Wonderland;
using UnityEngine;
public class SceneFieldTest : MonoBehaviour {
public SceneField Scene;
async void Start() {
await new WaitForSeconds(5f);
Debug.Log("------------ LoadScene");
await Scene.Load(true, progress => Debug.Log("Loading: "+progress+"%"));
Debug.Log("Scene loaded");
}
}