NLDClient-yudde/ProjectNLD/Assets/Code/Scripts/Gameplay/UI/UIBinder/UIFightClockDynamicBinder.cs

42 lines
1.6 KiB
C#

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 UIFightClockDynamicBinder
{
public static void GetComponents(UIFightClockDynamicController window)
{
window.Image_Battle_ClockBG = window.GetComponent<Image>("Image_Battle_ClockBG");
window.Image_ClockPause = window.GetComponent<Image>("Image_Battle_ClockBG/Image_ClockPause");
window.Image_ClockNum0 = window.GetComponent<Image>("Image_Battle_ClockBG/Image_ClockNum0");
window.Image_ClockNum1 = window.GetComponent<Image>("Image_Battle_ClockBG/Image_ClockNum1");
window.Image_ClockNum2 = window.GetComponent<Image>("Image_Battle_ClockBG/Image_ClockNum2");
window.Image_ClockNum3 = window.GetComponent<Image>("Image_Battle_ClockBG/Image_ClockNum3");
window.Text_FightStatus = window.GetComponent<TMP_Text>("Image_Battle_ClockBG/Text_FightStatus");
window.Image_Ruler_MM = window.GetComponent<Image>("Image_Battle_ClockBG/Image_Ruler_MM");
window.Image_Ruler_SS = window.GetComponent<Image>("Image_Battle_ClockBG/Image_Ruler_SS");
}
/****** 定义变量语句 ******
public Image Image_Battle_ClockBG;
public Image Image_ClockPause;
public Image Image_ClockNum0;
public Image Image_ClockNum1;
public Image Image_ClockNum2;
public Image Image_ClockNum3;
public TMP_Text Text_FightStatus;
public Image Image_Ruler_MM;
public Image Image_Ruler_SS;
****** End ******/
}