| | |
| | | InitRedPoint(); |
| | | TabSetActive(); |
| | | SelectTiltleBtn(); |
| | | txtName.SetActive(false); //称号名称与美术资源一体,不需要额外单独显示 |
| | | } |
| | | |
| | | protected override void OnPreClose() |
| | |
| | | |
| | | private void RefreshAll(PhantasmPavilionType type, int tabType, bool isJump = true) |
| | | { |
| | | // 卸下称号后,自动选中第一个物品 |
| | | if (!manager.Has(type, manager.selectId)) |
| | | { |
| | | manager.SetSelectItemId(type, functionOrder + 1); |
| | | } |
| | | |
| | | scrTitle.m_Scorller.RefreshActiveCellViews(); |
| | | if (isJump) |
| | | { |
| | |
| | | |
| | | btnTakeOff2.SetActive(state == PhantasmPavilionState.Activated && isCanStarAdd && isUsing); |
| | | btnTakeOff1.SetActive(state == PhantasmPavilionState.Activated && !isCanStarAdd && isUsing && hasLimitTimeShow); |
| | | btnTakeOff3.SetActive(state == PhantasmPavilionState.Activated && isCanStarAdd && isUsing && !hasLimitTimeShow); |
| | | btnTakeOff3.SetActive(state == PhantasmPavilionState.Activated && !isCanStarAdd && isUsing && !hasLimitTimeShow); |
| | | btnUnlock.Display(id); |
| | | btnUnlock1.Display(id); |
| | | btnAddStar.Display(id); |
| | |
| | | |
| | | UpdateTimer(type, id); |
| | | } |
| | | |
| | | void RefreshScroller(PhantasmPavilionType type) |
| | | { |
| | | scrTitle.m_Scorller.RefreshActiveCellViews(); |
| | | CreateInfoScroller(); |
| | | } |
| | | |
| | | |
| | | private void CreateInfoScroller() |
| | | { |