123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- using Core.UI.UTool.UITween;
- namespace Fort23.Mono
- {
- public partial class ZhuanPanPanel
- {
- #region 自定义数据
- private GameObject _gf_widget;
- public GameObject gf_widget
- {
- get{
- if (_gf_widget == null)
- {
- _gf_widget = GetUIUnit<GameObject>("gf_widget");
- }
- return _gf_widget;
- }
- }
- private RectTransform _Gf_root;
- public RectTransform Gf_root
- {
- get{
- if (_Gf_root == null)
- {
- _Gf_root = GetUIUnit<RectTransform>("Gf_root");
- }
- return _Gf_root;
- }
- }
- private UITweenController _jin;
- public UITweenController jin
- {
- get{
- if (_jin == null)
- {
- _jin = GetUIUnit<UITweenController>("jin");
- }
- return _jin;
- }
- }
- private UITweenController _mu;
- public UITweenController mu
- {
- get{
- if (_mu == null)
- {
- _mu = GetUIUnit<UITweenController>("mu");
- }
- return _mu;
- }
- }
- private UITweenController _shui;
- public UITweenController shui
- {
- get{
- if (_shui == null)
- {
- _shui = GetUIUnit<UITweenController>("shui");
- }
- return _shui;
- }
- }
- private UITweenController _huo;
- public UITweenController huo
- {
- get{
- if (_huo == null)
- {
- _huo = GetUIUnit<UITweenController>("huo");
- }
- return _huo;
- }
- }
- private UITweenController _tu;
- public UITweenController tu
- {
- get{
- if (_tu == null)
- {
- _tu = GetUIUnit<UITweenController>("tu");
- }
- return _tu;
- }
- }
- private Image _lanLiang;
- public Image lanLiang
- {
- get{
- if (_lanLiang == null)
- {
- _lanLiang = GetUIUnit<Image>("lanLiang");
- }
- return _lanLiang;
- }
- }
- private Text _jin_shangshi;
- public Text jin_shangshi
- {
- get{
- if (_jin_shangshi == null)
- {
- _jin_shangshi = GetUIUnit<Text>("jin_shangshi");
- }
- return _jin_shangshi;
- }
- }
- private Text _mu_shangshi;
- public Text mu_shangshi
- {
- get{
- if (_mu_shangshi == null)
- {
- _mu_shangshi = GetUIUnit<Text>("mu_shangshi");
- }
- return _mu_shangshi;
- }
- }
- private Text _shui_shangshi;
- public Text shui_shangshi
- {
- get{
- if (_shui_shangshi == null)
- {
- _shui_shangshi = GetUIUnit<Text>("shui_shangshi");
- }
- return _shui_shangshi;
- }
- }
- private Text _huo_shangshi;
- public Text huo_shangshi
- {
- get{
- if (_huo_shangshi == null)
- {
- _huo_shangshi = GetUIUnit<Text>("huo_shangshi");
- }
- return _huo_shangshi;
- }
- }
- private Text _tu_shangshi;
- public Text tu_shangshi
- {
- get{
- if (_tu_shangshi == null)
- {
- _tu_shangshi = GetUIUnit<Text>("tu_shangshi");
- }
- return _tu_shangshi;
- }
- }
- private Button _lanLiang_button;
- public Button lanLiang_button
- {
- get{
- if (_lanLiang_button == null)
- {
- _lanLiang_button = GetUIUnit<Button>("lanLiang_button");
- }
- return _lanLiang_button;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|