Пример #1
0
 public BallScrollerPart(UIPart targetPart, BallCellView ballCellView)
     : base(ballCellView.m_MixedLineScrollerView.transform)
 {
     m_TargetPart       = targetPart;
     m_BallScrollerView = ballCellView.m_MixedLineScrollerView;
     m_HomeScrollerView = ballCellView.m_HomeScrollerView;
 }
Пример #2
0
        public override async UniTask OnLoadedPart(UIBase targetLayer)
        {
            BallScrollerView mixedLineScrollerView =
                targetLayer.RootTransform.GetComponent <BallScrollerView>();

            // List<UIPart> parts = new List<UIPart>()
            // {
            //     new BallItemButtonPart(m_BallItemCellView)
            // };
            //
            // // 追加待ち
            // await UIController.Instance.YieldAttachParts(targetLayer, parts);
        }