Ejemplo n.º 1
0
        private void Init()
        {
            if (_isInit)
            {
                return;
            }

            var t = controller.transform;

            _goLeftPlaceholder     = t.FindEx("Background/Left/Placeholder").gameObject;
            _goRightPlaceholder    = t.FindEx("Background/Right/Placeholder").gameObject;
            _goScrollView          = t.FindEx("Background/Left/Scroll View").gameObject;
            _goPartnerItem         = t.FindEx("Background/Right/PartnerItem").gameObject;
            _uiTable               = t.GetComponent <UITable>("Background/Left/Scroll View/Table");
            _goItem                = t.FindEx("Background/Left/Scroll View/Table/Item").gameObject;
            _partnerCellController = t.GetMonoILRComponent <LTPartnerListCellController>("Background/Right/PartnerItem");
            _isInit                = true;
            _uiLabelPool.Add(_goItem.GetComponent <UILabel>());
        }