Esempio 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;
 }
Esempio 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);
        }
Esempio n. 3
0
 public BallPart(BallCellView ballCellView, HomeScrollerView homeScrollerView)
     : base(ballCellView.transform)
 {
     m_BallCellView = ballCellView;
     m_BallCellView.m_HomeScrollerView = homeScrollerView;
 }