using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AddressableAssets; /// /// Script added to bootstrap scene loading for the scene built by the Sample. /// public class LoadSceneForCustomBuild : MonoBehaviour { /// /// Assigned the address of an AddressableAsset to bootstrap dynamically loading a scene at runtime. /// public string SceneKey; /// /// Start is called before the first frame update. /// void Start() { Addressables.LoadSceneAsync(SceneKey); } }