12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class ProfessionEquipmentPanel
- {
- #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 _alertRedRecycle;
- public GameObject alertRedRecycle
- {
- get{
- if (_alertRedRecycle == null)
- {
- _alertRedRecycle = GetUIUnit<GameObject>("alertRedRecycle");
- }
- return _alertRedRecycle;
- }
- }
- private GameObject _alertRedEquip;
- public GameObject alertRedEquip
- {
- get{
- if (_alertRedEquip == null)
- {
- _alertRedEquip = GetUIUnit<GameObject>("alertRedEquip");
- }
- return _alertRedEquip;
- }
- }
- private List<object> _allEquipment;
- public List<object> allEquipment
- {
- get{
- if (_allEquipment == null)
- {
- _allEquipment = GetUIUnit<List<object>>("allEquipment");
- }
- return _allEquipment;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|