using UnityEngine; using UnityEngine.UI; using System.Collections.Generic; public class TestScript : MonoBehaviour { #region Config //StartMark-Used by LabelUtility-Do not remove private Text Title; private Text Content; private Button Button; private Button Panel; //EndMark-Used by LabelUtility-Do not remove #endregion private void Regist() { //RegistStartMark-Used by LabelUtility-Do not remove Dictionary childDictionary = new Dictionary(); Auxiliary.CompileDic(transform, childDictionary); Title = childDictionary[TestLabel.Title].GetComponent(); Content = childDictionary[TestLabel.Content].GetComponent(); Button = childDictionary[TestLabel.Button].GetComponent