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"; } } }
private void Awake() { UIM_Manager.AddUIComponent(this); gameObject.SetActive(InitAtStart); }