IndieGame/client/Assets/Scripts/Config/Global/GlobalSettings.cs
DOBEST\zhaoyingjie f242607587 初始化工程
2024-10-11 10:12:15 +08:00

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;
}
}
}
}