using asap.core; using cfg; using GameCore; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; /* UI_FishingRodHonorlevelPanel_1 精英荣耀等级 Elite Honor Level UI_FishingRodHonorlevelPanel_2 专家荣耀等级 Expert Honor Level UI_FishingRodHonorlevelPanel_3 大师荣耀等级 Master Honor Level UI_FishingRodHonorlevelPanel_4 精英荣耀属性 Elite Honor Attributes UI_FishingRodHonorlevelPanel_5 专家荣耀属性 Expert Honor Attributes UI_FishingRodHonorlevelPanel_6 大师荣耀属性 Master Honor Attributes UI_FishingRodHonorlevelPanel_7 对所有精英鱼竿生效 Applies to all Elite Rods UI_FishingRodHonorlevelPanel_8 对所有专家鱼竿生效 Applies to all Expert Rods UI_FishingRodHonorlevelPanel_9 对所有大师鱼竿生效 Applies to all Master Rods */ public class FishingRodHonorlevelPanel : MonoBehaviour { RodItem rod; TMP_Text text_level; Image honor; RodAttributeInfo rodAttribute; Button btn_levelup; Button btn_levelup_gray; Button btn_questionmark; GameObject icon_cost_2; TMP_Text icon_cost_1_num; TMP_Text icon_cost_2_num; TMP_Text icon_cost_3_num; Image icon_ticket_2; Image icon_ticket_3; TMP_Text text_title; TMP_Text text_info_title; TMP_Text text_info; GameObject tips_honorrod; GameObject item_rod; Button btn_close; FishingRodUpSystem upSystem; PlayerFishData playerFishData; Tables _tables; RodItemData data; RodAscend curRodAscend; RodRodLevelPeak rodLevelPeak; GameObject fx_rodpanel_honorlevel_upgrade; RawImage rawImageRod; IUIService uIService; string toastKey = "UI_ToastPanel_66"; private void Awake() { uIService = GContext.container.Resolve(); rawImageRod = transform.Find("root/RawImageRod").GetComponent(); _tables = GContext.container.Resolve(); playerFishData = GContext.container.Resolve(); upSystem = GContext.container.Resolve(); text_level = transform.Find("root/honor/text_level").GetComponent(); honor = transform.Find("root/honor").GetComponent(); rodAttribute = transform.Find("root/info/attribute1").GetComponent(); btn_levelup = transform.Find("root/btn_levelup/btn_green").GetComponent