123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- 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 _btnOnce;
- public Button btnOnce
- {
- get{
- if (_btnOnce == null)
- {
- _btnOnce = GetUIUnit<Button>("btnOnce");
- }
- return _btnOnce;
- }
- }
- 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;
- }
- }
- private List<object> _eqs;
- public List<object> eqs
- {
- get{
- if (_eqs == null)
- {
- _eqs = GetUIUnit<List<object>>("eqs");
- }
- return _eqs;
- }
- }
- private Text _txtZyName;
- public Text txtZyName
- {
- get{
- if (_txtZyName == null)
- {
- _txtZyName = GetUIUnit<Text>("txtZyName");
- }
- return _txtZyName;
- }
- }
- private Text _zyTitle;
- public Text zyTitle
- {
- get{
- if (_zyTitle == null)
- {
- _zyTitle = GetUIUnit<Text>("zyTitle");
- }
- return _zyTitle;
- }
- }
- private MyImage _colorBg;
- public MyImage colorBg
- {
- get{
- if (_colorBg == null)
- {
- _colorBg = GetUIUnit<MyImage>("colorBg");
- }
- return _colorBg;
- }
- }
- private Text _miniTitle;
- public Text miniTitle
- {
- get{
- if (_miniTitle == null)
- {
- _miniTitle = GetUIUnit<Text>("miniTitle");
- }
- return _miniTitle;
- }
- }
- private MyImage _zyBg;
- public MyImage zyBg
- {
- get{
- if (_zyBg == null)
- {
- _zyBg = GetUIUnit<MyImage>("zyBg");
- }
- return _zyBg;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|