|
@@ -7,16 +7,17 @@ using Sirenix.OdinInspector;
|
|
|
|
|
|
namespace KairoEngine.Core.ModuleSystem
|
|
|
{
|
|
|
- [System.Serializable, HideReferenceObjectPicker]
|
|
|
+ [System.Serializable, HideReferenceObjectPicker, Toggle("enableModule")]
|
|
|
public class GameModule : IComparable<GameModule>
|
|
|
{
|
|
|
[SerializeField, HideInInspector] public virtual string name => "Empty Module Slot";
|
|
|
[SerializeField, HideInInspector] public string typeName = "GameModule";
|
|
|
[SerializeField, HideInInspector] public string className;
|
|
|
|
|
|
- [InlineButton("Reset", "Reset")]
|
|
|
- [InlineButton("Remove", "Remove")]
|
|
|
- [FoldoutGroup("@name")] public bool enableModule = true;
|
|
|
+ // [InlineButton("Reset", "Reset")]
|
|
|
+ // [InlineButton("Remove", "Remove")]
|
|
|
+ // [FoldoutGroup("@name")]
|
|
|
+ public bool enableModule = true;
|
|
|
|
|
|
[HideInInspector] public bool isInitialized = false;
|
|
|
[HideInInspector, NonSerialized] public GameConfig gameConfig;
|