12345678910111213141516171819 |
- 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<EncyclopediaCategory> categories = new List<EncyclopediaCategory>();
- [Button("Build Menu")]
- public void BuildMenu()
- {
- if(encyclopediaUi == null) return;
- encyclopediaUi.Populate();
- }
- }
|