using UnityEngine; using UnityEngine.AddressableAssets; /// /// This class is a base class which contains what is common to all game scenes (Locations, Menus, Managers) /// public class GameSceneSO : DescriptionBaseSO { public GameSceneType sceneType; public AssetReference sceneReference; //Used at runtime to load the scene from the right AssetBundle public AudioCueSO musicTrack; /// /// Used by the SceneSelector tool to discern what type of scene it needs to load /// public enum GameSceneType { //Playable scenes Location, //SceneSelector tool will also load PersistentManagers and Gameplay Menu, //SceneSelector tool will also load Gameplay //Special scenes Initialisation, PersistentManagers, Gameplay, //Work in progress scenes that don't need to be played Art, } }