35 lines
776 B
C#
35 lines
776 B
C#
|
|
|||
|
using Sirenix.OdinInspector;
|
|||
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
namespace Ether
|
|||
|
{
|
|||
|
public class GlobalSettings : ScriptableObject
|
|||
|
{
|
|||
|
[LabelText("开始界面"), ValueDropdown("@ConstName.AllFrameList")]
|
|||
|
public string startFrame;
|
|||
|
|
|||
|
[LabelText("开始场景")]
|
|||
|
[ValueDropdown("@ConstName.SceneNameList")]
|
|||
|
public string startScence;
|
|||
|
|
|||
|
|
|||
|
private static GlobalSettings inst;
|
|||
|
public static GlobalSettings Inst
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
if (inst == null)
|
|||
|
{
|
|||
|
inst = LoaderTools.LoadAsset<GlobalSettings>("Config/GlobalSettings");
|
|||
|
}
|
|||
|
|
|||
|
return inst;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|