Example #1
0
 public MixedLineScrollerPart(UIPart targetPart, MixedLineCellView mixedLineCellView)
     : base(mixedLineCellView.m_MixedLineScrollerView.transform)
 {
     m_TargetPart            = targetPart;
     m_MixedLineScrollerView = mixedLineCellView.m_MixedLineScrollerView;
     m_LaboScrollerView      = mixedLineCellView.m_LaboScrollerView;
 }
 public ElementLineScrollerPart(UIPart targetPart, ElementLineCellView elementLineCellView)
     : base(elementLineCellView.m_ElementLineScrollerView.transform)
 {
     m_TargetPart = targetPart;
     m_ElementLineScrollerView = elementLineCellView.m_ElementLineScrollerView;
     m_LaboScrollerView        = elementLineCellView.m_LaboScrollerView;
 }
Example #3
0
        public override async UniTask OnLoadedBase()
        {
            UIBaseLayer previewFieldLayer = UIController.Instance.GetBaseLayer(typeof(PreviewFieldBase));

            m_PreviewFieldBase = previewFieldLayer.Base as PreviewFieldBase;

            UIBaseLayer mixedBallTabBase = UIController.Instance.GetBaseLayer(typeof(MixedBallTabBase));

            m_MixedBallTabBase = mixedBallTabBase.Base as MixedBallTabBase;

            m_LaboScrollerView = RootTransform.GetComponent <LaboScrollerView>();
            InitLaboScrollerController();

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

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

            const int FIRST_INDEX = 2;

            m_LaboScrollerView.m_Scroller.JumpToDataIndex(FIRST_INDEX);
        }
Example #4
0
 public ElementLinePart(ElementLineCellView elementLineCellView, LaboScrollerView laboScrollerView,
                        MixedBallTabView mixedBallTabView)
     : base(elementLineCellView.transform)
 {
     m_ElementLineCellView = elementLineCellView;
     m_ElementLineCellView.m_LaboScrollerView = laboScrollerView;
 }
Example #5
0
 public MixedLinePart(MixedLineCellView mixedLineCellView, LaboScrollerView laboScrollerView)
     : base(mixedLineCellView.transform)
 {
     m_MixedLineCellView = mixedLineCellView;
     m_MixedLineCellView.m_LaboScrollerView = laboScrollerView;
 }