using System.Collections; using System.Collections.Generic; using UnityEngine; using Sirenix.OdinInspector; [HideMonoScript] public class EncyclopediaController : MonoBehaviour { public EncyclopediaUi encyclopediaUi; public GameObject categoryButtomPrefab; public List categories = new List(); [Button("Build Menu")] public void BuildMenu() { if(encyclopediaUi == null) return; encyclopediaUi.Populate(); } }