123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class SpecificProfessionEquipmentPanel
- {
- #region 自定义数据
- private Button _btnBack;
- public Button btnBack
- {
- get{
- if (_btnBack == null)
- {
- _btnBack = GetUIUnit<Button>("btnBack");
- }
- return _btnBack;
- }
- }
- private Button _btnRecycle;
- public Button btnRecycle
- {
- get{
- if (_btnRecycle == null)
- {
- _btnRecycle = GetUIUnit<Button>("btnRecycle");
- }
- return _btnRecycle;
- }
- }
- private GameObject _btnYx;
- public GameObject btnYx
- {
- get{
- if (_btnYx == null)
- {
- _btnYx = GetUIUnit<GameObject>("btnYx");
- }
- return _btnYx;
- }
- }
- private GameObject _btnMs;
- public GameObject btnMs
- {
- get{
- if (_btnMs == null)
- {
- _btnMs = GetUIUnit<GameObject>("btnMs");
- }
- return _btnMs;
- }
- }
- private GameObject _btnFs;
- public GameObject btnFs
- {
- get{
- if (_btnFs == null)
- {
- _btnFs = GetUIUnit<GameObject>("btnFs");
- }
- return _btnFs;
- }
- }
- private GameObject _btnZs;
- public GameObject btnZs
- {
- get{
- if (_btnZs == null)
- {
- _btnZs = GetUIUnit<GameObject>("btnZs");
- }
- return _btnZs;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|