26 lines
793 B
C#
26 lines
793 B
C#
using AlicizaX.Runtime;
|
|
using Sirenix.OdinInspector;
|
|
using UnityEditor;
|
|
|
|
namespace AlicizaX.Editor
|
|
{
|
|
[System.Serializable]
|
|
[DisplayName("发布设置")]
|
|
internal sealed class FrameworkPublisherSettingTab : GameFrameworkTabBase
|
|
{
|
|
[Required] [InlineEditor(InlineEditorObjectFieldModes.CompletelyHidden)] [DisableInPlayMode] [HideLabel]
|
|
public FrameworkPublishSettings FrameworkPublishSettings;
|
|
|
|
public FrameworkPublisherSettingTab()
|
|
{
|
|
FrameworkPublishSettings = ScriptableSingletonUtil.Get<FrameworkPublishSettings>();
|
|
}
|
|
|
|
protected internal override void Save()
|
|
{
|
|
base.Save();
|
|
EditorUtility.SetDirty(FrameworkPublishSettings);
|
|
AssetDatabase.SaveAssets();
|
|
}
|
|
}
|
|
} |