Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
        public override async UniTask OnLoadedBase()
        {
            m_HomeScrollerView = RootTransform.GetComponent <HomeScrollerView>();
            InitHomeScrollerController();

            List <UIPart> parts = new List <UIPart>
            {
                // new HomeTabPart(m_HomeScrollerView.m_TabObject, JumpToDataIndex)
            };

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

            const int FIRST_INDEX = 2;

            m_HomeScrollerView.m_Scroller.JumpToDataIndex(FIRST_INDEX);
        }
Ejemplo n.º 3
0
 public BallPart(BallCellView ballCellView, HomeScrollerView homeScrollerView)
     : base(ballCellView.transform)
 {
     m_BallCellView = ballCellView;
     m_BallCellView.m_HomeScrollerView = homeScrollerView;
 }