public BallScrollerPart(UIPart targetPart, BallCellView ballCellView) : base(ballCellView.m_MixedLineScrollerView.transform) { m_TargetPart = targetPart; m_BallScrollerView = ballCellView.m_MixedLineScrollerView; m_HomeScrollerView = ballCellView.m_HomeScrollerView; }
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); }
public BallPart(BallCellView ballCellView, HomeScrollerView homeScrollerView) : base(ballCellView.transform) { m_BallCellView = ballCellView; m_BallCellView.m_HomeScrollerView = homeScrollerView; }