| | |
| | | [SerializeField] TextEx txtTodayAdsCount; |
| | | [SerializeField] TextEx txtFirstFree; |
| | | [SerializeField] TextEx txtFightPower; |
| | | [SerializeField] ImageEx imgMaxLineID; |
| | | [SerializeField] TextEx txtMaxLineID; |
| | | [SerializeField] Transform transChallengeItemCells; |
| | | [SerializeField] List<ItemCell> challengeItemCells1; |
| | | [SerializeField] List<ItemCell> challengeItemCells2; |
| | |
| | | [SerializeField] ImageEx imgSweepRed; |
| | | [SerializeField] UIHeroController bossModel; |
| | | [SerializeField] Button funPresetBtn; |
| | | |
| | | |
| | | bool isHasNextLineID; |
| | | int adID; |
| | | |
| | |
| | | btnClose.SetListener(OnClickClose); |
| | | btnSweep.SetListener(OnClickSweep); |
| | | btnAds.SetListener(OnClickAds); |
| | | funPresetBtn.AddListener(()=> |
| | | funPresetBtn.AddListener(() => |
| | | { |
| | | FuncPresetManager.Instance.ClickBattlePreset((int)BattlePreSetType.Story); |
| | | }); |
| | |
| | | |
| | | public void DisplayFBInfo(NPCConfig nPCConfig, DungeonConfig dungeonConfig, int nowPassLineID) |
| | | { |
| | | imgMaxLineID.SetActive(!isHasNextLineID); |
| | | txtMaxLineID.SetActive(!isHasNextLineID); |
| | | transChallengeItemCells.SetActive(isHasNextLineID); |
| | | txtBossName.text = nPCConfig.NPCName; |
| | | txtDifficulty.text = nowPassLineID.ToString(); |