using System.Collections; using System.Collections.Generic; using TMPro; using Framework; using UnityEngine; using UnityEngine.UI; using UnityEngine.UIElements; using Button = UnityEngine.UI.Button; using Image = UnityEngine.UI.Image; using Toggle = UnityEngine.UI.Toggle; using ScrollView = PhxhSDK.PhxhScrollView; public class UIFightTargetBinder { public static void GetComponents(UIFightTargetController window) { window.Image_IconBg = window.GetComponent("UI_LiuHaiRight/MissionProgress/Image_IconBg"); window.Image_Icon = window.GetComponent("UI_LiuHaiRight/MissionProgress/Image_Icon"); window.Image_ProgressBg = window.GetComponent("UI_LiuHaiRight/MissionProgress/Image_ProgressBg"); window.Image_ProgressBar = window.GetComponent("UI_LiuHaiRight/MissionProgress/Image_ProgressBar"); window.Image_ProgressBar2 = window.GetComponent("UI_LiuHaiRight/MissionProgress/Image_ProgressBar2"); window.Image_Character = window.GetComponent("UI_LiuHaiRight/MissionProgress/Image_Character"); window.Text_CharacterConut = window.GetComponent("UI_LiuHaiRight/MissionProgress/Text_CharacterConut"); window.Image_Vehicle = window.GetComponent("UI_LiuHaiRight/MissionProgress/Image_Vehicle"); window.Text_VehicleConut = window.GetComponent("UI_LiuHaiRight/MissionProgress/Text_VehicleConut"); window.Image_TimeClock = window.GetComponent("UI_LiuHaiRight/MissionProgress/Image_TimeClock"); window.Text_Time = window.GetComponent("UI_LiuHaiRight/MissionProgress/Text_Time"); window.Image_TargetBg = window.GetComponent("UI_LiuHaiRight/MissionTarget/Image_TargetBg"); window.Text_Target = window.GetComponent("UI_LiuHaiRight/MissionTarget/Image_TargetBg/Text_Target"); } /****** 定义变量语句 ****** public Image Image_IconBg; public Image Image_Icon; public Image Image_ProgressBg; public Image Image_ProgressBar; public Image Image_Character; public TMP_Text Text_CharacterConut; public Image Image_Vehicle; public TMP_Text Text_VehicleConut; public Image Image_TimeClock; public TMP_Text Text_Time; public Image Image_TargetBg; public TMP_Text Text_Target; ****** End ******/ }