您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
19 行
463 B
19 行
463 B
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// This class is a base class which contains what is common to all game scenes (Locations or Menus)
|
|
/// </summary>
|
|
|
|
public abstract partial class GameSceneSO : ScriptableObject
|
|
{
|
|
[Header("Information")]
|
|
#if UNITY_EDITOR // See GameSceneSOEditor.cs
|
|
public UnityEditor.SceneAsset sceneAsset;
|
|
#endif
|
|
[HideInInspector]
|
|
public string scenePath;
|
|
public string shortDescription;
|
|
|
|
[Header("Sounds")]
|
|
public AudioClip music;
|
|
}
|