AlicizaX/Client/Assets/Scripts/Hotfix/GameLogic/UI/Generate/ui_UILoadUpdateWindow.cs
陈思海 5862fb2af1 add
1.新增手柄相关适配
2.新增设备重映射绑定
3.新增设备映射图标更新
2025-12-09 20:31:44 +08:00

57 lines
1.5 KiB
C#

using UnityEngine;
using System.Collections.Generic;
using AlicizaX.UI;
using UnityEngine.UI;
using TMPro;
using AlicizaX.UI.Runtime;
namespace Game.UI
{
[UIRes(ui_UILoadUpdateWindow.ResTag, EUIResLoadType.AssetBundle)]
public class ui_UILoadUpdateWindow : UIHolderObjectBase
{
public const string ResTag = "UILoadUpdateWindow";
#region Generated by Script Tool
[SerializeField]
private Image mImgBackGround;
public Image ImgBackGround => mImgBackGround;
[SerializeField]
private UXButton mBtnTest;
public UXButton BtnTest => mBtnTest;
[SerializeField]
private TextMeshProUGUI mTextTitl;
public TextMeshProUGUI TextTitl => mTextTitl;
[SerializeField]
private UXTextMeshPro mTextGameTitle;
public UXTextMeshPro TextGameTitle => mTextGameTitle;
[SerializeField]
private GameObject[] mObjTestList = new GameObject[6];
public GameObject[] ObjTestList => mObjTestList;
[SerializeField]
private UXImage[] mImgTestList = new UXImage[6];
public UXImage[] ImgTestList => mImgTestList;
[SerializeField]
private CanvasGroup[] mCanvasGroupTestList = new CanvasGroup[6];
public CanvasGroup[] CanvasGroupTestList => mCanvasGroupTestList;
#endregion
#region Controller
public UXController.ControllerHandle Controller0 { get; private set; }
public override void Awake()
{
base.Awake();
var controller = gameObject.GetComponent<UXController>();
Controller0 = controller.GetController("Controller0");
}
#endregion
}
}