Ejemplo n.º 1
0
        public override async UniTask OnLoadedPart(UIBase targetLayer)
        {
            m_LaboScrollerBase = targetLayer as LaboScrollerBase;
            List <UIPart> parts = new List <UIPart>()
            {
                new ButtonPart(m_MixedLineItemCellView.m_MixedBallButton, ClickButton)
            };

            // 追加待ち
            await UIController.Instance.YieldAttachParts(targetLayer, parts);
        }
Ejemplo n.º 2
0
        public override async UniTask OnLoadedPart(UIBase targetLayer)
        {
            m_LaboScrollerBase = targetLayer as LaboScrollerBase;
            List <UIPart> parts = new List <UIPart>()
            {
                new ButtonPart(m_ElementLineItemCellView.m_ElementButton, ClickButton),
                new DragPart(m_ElementLineItemCellView.m_ElementDragObject, Drag, BeginDrag, EndDrag),
            };

            // 追加待ち
            await UIController.Instance.YieldAttachParts(targetLayer, parts);
        }