TabData.cs 523 B

1234567891011121314151617
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using Sirenix.OdinInspector;
  5. namespace KairoEngine.UI
  6. {
  7. [System.Serializable]
  8. public class TabData
  9. {
  10. [FoldoutGroup("@title")] public string id = "unique_tab__name";
  11. [FoldoutGroup("@title")] public string title = "Tab Title";
  12. [FoldoutGroup("@title")] public GameObject content;
  13. [FoldoutGroup("@title")] public Sprite icon;
  14. [FoldoutGroup("@title"), TextArea] public string description;
  15. }
  16. }