123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- 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 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 Button _lanLiang_button;
- public Button lanLiang_button
- {
- get{
- if (_lanLiang_button == null)
- {
- _lanLiang_button = GetUIUnit<Button>("lanLiang_button");
- }
- return _lanLiang_button;
- }
- }
- private GameObject _WuXingGongFaWidget;
- public GameObject WuXingGongFaWidget
- {
- get{
- if (_WuXingGongFaWidget == null)
- {
- _WuXingGongFaWidget = GetUIUnit<GameObject>("WuXingGongFaWidget");
- }
- return _WuXingGongFaWidget;
- }
- }
- private RectTransform _pan;
- public RectTransform pan
- {
- get{
- if (_pan == null)
- {
- _pan = GetUIUnit<RectTransform>("pan");
- }
- return _pan;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|