diff --git a/Runtime/Constant/FrameworkPublishSettings.cs b/Runtime/Constant/FrameworkPublishSettings.cs index c90f561..21da74f 100644 --- a/Runtime/Constant/FrameworkPublishSettings.cs +++ b/Runtime/Constant/FrameworkPublishSettings.cs @@ -22,14 +22,28 @@ namespace AlicizaX.Runtime public RemoteURLConfigSetting GetConfig() { - RemoteURLConfigSetting configSetting = Configs.Find(s => s.Version_Type == AppStageType); - return configSetting; + return Configs.Find(s => s.Version_Type == AppStageType); } - System.Collections.IEnumerable GetAllType + + [ValueDropdown("GetResMode")] [BoxGroup("发布设置")] [LabelText("资源模式")] + public int ResMode; + + [BoxGroup("发布设置")] [LabelText("默认语言")] public Language Language = Runtime.Language.ChineseSimplified; + + private System.Collections.IEnumerable GetAllType { get { return Configs.Select(a => a.Version_Type).ToList(); } } + + + private static System.Collections.IEnumerable GetResMode = new ValueDropdownList() + { + { "EditorSimulateMode", 0 }, + { "OfflinePlayMode", 1 }, + { "HostPlayMode", 2 }, + { "WebPlayMode", 3 }, + }; }