ConfigOptionBase.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using Sirenix.OdinInspector;
  5. namespace KairoEngine.Core.ConfigOptions
  6. {
  7. public class ConfigOptionBase : ScriptableObject, IConfigOption
  8. {
  9. [PropertyOrder(0), HorizontalGroup("id")] public string title;
  10. [PropertyOrder(1), HorizontalGroup("id", 0.3f), HideLabel] public string id;
  11. [PropertyOrder(3)] public ConfigOptionUIType uiElementType;
  12. public virtual ConfigOptionUiData GetUiData()
  13. {
  14. throw new System.NotImplementedException();
  15. }
  16. public virtual void LoadValue(bool debug)
  17. {
  18. throw new System.NotImplementedException();
  19. }
  20. public virtual void SetDefaultValue()
  21. {
  22. throw new System.NotImplementedException();
  23. }
  24. public virtual void SetValue(ConfigOptionData data, bool save = false)
  25. {
  26. throw new System.NotImplementedException();
  27. }
  28. }
  29. }