public void Construct(ILegoUI locUI, object obj = null) { #if DEBUG if (Content.childCount > 0) { Content.DeleteAllChild(); } #endif LocUI = locUI; //生命周期 var pipelineHandlerList = PipelineRouter.GetHandlers(RectTransform.name.Split('@')[0]); InitPipelineHandlerDic(pipelineHandlerList); //读取滚动视图元数据初始化控件基本设置 var locUIMeta = MetaHelper.GetMeta(transform.parent.name); scrollViewMeta = locUIMeta.GetScrollViewMeta(name); if (scrollViewMeta.IsNotInitSonComponent) { return; } //初始化滚动视图数据模型相关操作 InitScrollViewRxModel(); //初始化滚动视图交互操作 InitMetaInfo(scrollViewMeta); InitScrollRect(); //添加初始子项 TryRequestBuildComponent(); if (RequireCount == 0) { TryInvokeOnCreated(); } }