ActivityMessageGroup.cs 750 B

12345678910111213141516171819202122
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using Sirenix.OdinInspector;
  5. namespace KairoEngine.UI.ActivityMessages
  6. {
  7. [System.Serializable]
  8. public class ActivityMessageGroup
  9. {
  10. [FoldoutGroup("@title")]
  11. public string title = "Group 1";
  12. [FoldoutGroup("@title"), Tooltip("The container that will hold the activity message GameObjects in this group.")]
  13. public Transform container;
  14. [FoldoutGroup("@title"), LabelText("Max Visible")] public int maxVisibleMessages = 100;
  15. [FoldoutGroup("@title"), LabelText("Max History")] public int maxHistoryMessages = 250;
  16. [FoldoutGroup("@title"), PropertySpace(4,0)] public List<ActivityMessage> messages;
  17. }
  18. }