/// This class is a base class which contains what is commun for all game scenes (Locations or Menus)
/// </summary>
public class GameScene : ScriptableObject
public class GameSceneSO : ScriptableObject
{
[Header("Information")]
public string sceneName;
[CreateAssetMenu(fileName = "NewLocation", menuName = "Scene Data/Location")]
public class Location : GameScene
public class LocationSO : GameSceneSO
[Header("Location specific")]
public int enemiesCount;
using UnityEngine;
/// <summary>
/// This class contains Settings specific to Menus only
public enum Menu
Main_Menu,
Pause_Menu
}
[CreateAssetMenu(fileName = "NewMenu", menuName = "Scene Data/Menu")]
public class MenuSO : GameSceneSO
[Header("Menu specific")]
public Menu menuType;
public enum Type
public class Menu : GameScene
public Type type;