123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- 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;
- }
- }
- private Button _btnYx;
- public Button btnYx
- {
- get{
- if (_btnYx == null)
- {
- _btnYx = GetUIUnit<Button>("btnYx");
- }
- return _btnYx;
- }
- }
- private Button _btnMs;
- public Button btnMs
- {
- get{
- if (_btnMs == null)
- {
- _btnMs = GetUIUnit<Button>("btnMs");
- }
- return _btnMs;
- }
- }
- private Button _btnFs;
- public Button btnFs
- {
- get{
- if (_btnFs == null)
- {
- _btnFs = GetUIUnit<Button>("btnFs");
- }
- return _btnFs;
- }
- }
- private Button _btnZs;
- public Button btnZs
- {
- get{
- if (_btnZs == null)
- {
- _btnZs = GetUIUnit<Button>("btnZs");
- }
- return _btnZs;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|