32 lines
959 B
C#
32 lines
959 B
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;
|
|
|
|
public class UIReconnectNoticeBinder
|
|
{
|
|
|
|
public static void GetComponents(UIReconnectNoticeController window)
|
|
{
|
|
window.Image_BG = window.GetComponent<Image>("Image_BG");
|
|
window.Text_Desc = window.GetComponent<TMP_Text>("Image_BG/Text_Desc");
|
|
window.Text_Error = window.GetComponent<TMP_Text>("Image_BG/Text_Error");
|
|
window.Button_Confirm = window.GetComponent<Button>("Image_BG/Button_Confirm");
|
|
window.Text_Confirm = window.GetComponent<TMP_Text>("Image_BG/Button_Confirm/Text_Confirm");
|
|
|
|
}
|
|
|
|
/****** 定义变量语句 ******
|
|
public Image Image_BG;
|
|
public TMP_Text Text_Desc;
|
|
public TMP_Text Text_Error;
|
|
public Button Button_Confirm;
|
|
public TMP_Text Text_Confirm;
|
|
|
|
****** End ******/
|
|
} |