コード例 #1
0
 void GenerateContent()
 {
     shortCut = "***ALL KEYS***\n";
     UIM_Manager.AllComponents.Clear();
     UIM_Component[] _cs = null;
     for (int i = 0; i < (_cs = eTarget.GetComponentsInChildren <UIM_Component>()).Length; i++)
     {
         UIM_Component _c;
         if (_c = _cs[i])
         {
             Debug.Log(_c);
             UIM_Manager.AddUIComponent(_c);
             shortCut += _c.UID + "\n";
         }
     }
 }
コード例 #2
0
 private void Awake()
 {
     UIM_Manager.AddUIComponent(this);
     gameObject.SetActive(InitAtStart);
 }
コード例 #3
0
 private void OnEnable()
 {
     eTarget = (UIM_Manager)target;
 }