IConfigOption.cs 483 B

12345678910111213141516171819202122232425
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace KairoEngine.Core.ConfigOptions
  5. {
  6. public enum ConfigOptionUIType
  7. {
  8. Slider,
  9. Checkbox,
  10. Dropdown,
  11. KeyMapping,
  12. Text
  13. }
  14. public interface IConfigOption
  15. {
  16. void SetDefaultValue();
  17. void LoadValue(bool debug);
  18. void SetValue(ConfigOptionData data, bool save = false);
  19. ConfigOptionUiData GetUiData();
  20. }
  21. }