1234567891011121314151617181920212223242526272829303132 |
- 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 Button Button;
- private VirtualScrollRectPlus GameObject;
- //EndMark-Used by LabelUtility-Do not remove
- #endregion
- private void Regist()
- {
- //RegistStartMark-Used by LabelUtility-Do not remove
- Dictionary<string, Transform> childDictionary = new Dictionary<string, Transform>();
- Auxiliary.CompileDic(transform, childDictionary);
- Title = childDictionary[TestLabel.Title].GetComponent<Text>();
- Button = childDictionary[TestLabel.Button].GetComponent<Button>();
- GameObject = childDictionary[TestLabel.GameObject].GetComponent<VirtualScrollRectPlus>();
- //RegistEndMark-Used by LabelUtility-Do not remove
- //RegistEventStartMark-Used by LabelUtility-Do not remove
- //RegistEventEndMark-Used by LabelUtility-Do not remove
- }
- //EventStartMark-Used by LabelUtility-Do not remove
- //EventEndMark-Used by LabelUtility-Do not remove
- }
|