| | |
| | | [SerializeField] Transform caseesObj; |
| | | FuncPresetChooseCells presetChooseCells; |
| | | |
| | | [SerializeField] Button funPresetBtn; |
| | | |
| | | |
| | | Sequence sequence; |
| | | CancellationTokenSource _cts; |
| | | Queue<int> showConnectTipQueue = new Queue<int>(); |
| | |
| | | presetObj.transform.SetParentEx(caseesObj, Vector3.zero, Quaternion.identity, Vector3.one); |
| | | presetChooseCells = presetObj.GetComponent<FuncPresetChooseCells>(); |
| | | presetChooseCells.ChangeAlignment(TextAnchor.MiddleCenter); |
| | | |
| | | funPresetBtn.AddListener(()=> |
| | | { |
| | | FuncPresetManager.Instance.ClickBattlePreset((int)BattlePreSetType.Story); |
| | | }); |
| | | } |
| | | |
| | | |
| | |
| | | fightPowerText.text = UIHelper.ReplaceLargeArtNum(FightPowerManager.Instance.GetTeamFightPower(HeroUIManager.Instance.selectTeamType, true)); |
| | | |
| | | presetChooseCells.Display((int)BattlePreSetType.Story, (int)FuncPresetType.Team); |
| | | |
| | | funPresetBtn.SetActive(FuncPresetManager.Instance.IsPreShow()); |
| | | } |
| | | |
| | | void RefreshFlyHead() |