using System.Collections.Generic; using System.Reflection; using UnityEngine; using UnityEngine.UI; namespace Cryville.Crtr.Browsing { public class PropertyCategoryPanel : MonoBehaviour { [SerializeField] private GameObject m_propertyPrefab; Text _nameLabel = null; string _name; public string Name { get { return _name; } set { _name = value; UpdateName(); } } bool _collapsed = false; public bool Collapsed { get { return _collapsed; } set { _collapsed = value; UpdateName(); } } #pragma warning disable IDE0051 void Awake() { _nameLabel = transform.Find("Name/__text__").GetComponent(); transform.Find("Name").GetComponent