EncyclopediaCategory.cs 500 B

1234567891011121314151617181920
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using Sirenix.OdinInspector;
  5. [System.Serializable]
  6. public class EncyclopediaCategory : MonoBehaviour
  7. {
  8. public string title = "Encyclopedia Category";
  9. public Sprite icon;
  10. public GameObject buttonPrefab;
  11. public string layoutName = "default-view";
  12. public bool showSubMenu = true;
  13. public virtual List<EncyclopediaArticle> GetArticles()
  14. {
  15. return new List<EncyclopediaArticle>();
  16. }
  17. }