|
@@ -8,12 +8,12 @@ using Sirenix.OdinInspector;
|
|
|
|
|
|
namespace KairoEngine.UI
|
|
|
{
|
|
|
- [Serializable, HideReferenceObjectPicker]
|
|
|
+ [Serializable, HideReferenceObjectPicker, Toggle("enableModule")]
|
|
|
public class UiSystemModule : GameModuleBase
|
|
|
{
|
|
|
public override string name => "UI Module";
|
|
|
|
|
|
- [FoldoutGroup("@name"), InlineEditor(InlineEditorObjectFieldModes.Boxed), LabelText("UI Library"), NonSerialized, ShowInInspector]
|
|
|
+ [InlineEditor(InlineEditorObjectFieldModes.Boxed), LabelText("UI Library"), NonSerialized, ShowInInspector]
|
|
|
public UiSystemLibrary library;
|
|
|
|
|
|
public UiSystemModule(GameConfig config) : base(config)
|
|
@@ -21,6 +21,7 @@ namespace KairoEngine.UI
|
|
|
this.gameConfig = config;
|
|
|
this.className = this.GetType().AssemblyQualifiedName;
|
|
|
this.typeName = "UiSystemModule";
|
|
|
+ this.enableModule = true;
|
|
|
}
|
|
|
|
|
|
public override void Load(Transform parent)
|