123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class FaBaoDetailsPanel
- {
- #region 自定义数据
- private MyImage _Icon_Attribute;
- public MyImage Icon_Attribute
- {
- get{
- if (_Icon_Attribute == null)
- {
- _Icon_Attribute = GetUIUnit<MyImage>("Icon_Attribute");
- }
- return _Icon_Attribute;
- }
- }
- private Text _Text_FaBaoName;
- public Text Text_FaBaoName
- {
- get{
- if (_Text_FaBaoName == null)
- {
- _Text_FaBaoName = GetUIUnit<Text>("Text_FaBaoName");
- }
- return _Text_FaBaoName;
- }
- }
- private Text _Text_Power;
- public Text Text_Power
- {
- get{
- if (_Text_Power == null)
- {
- _Text_Power = GetUIUnit<Text>("Text_Power");
- }
- return _Text_Power;
- }
- }
- private MyImage _Icon_FaBaoIcon;
- public MyImage Icon_FaBaoIcon
- {
- get{
- if (_Icon_FaBaoIcon == null)
- {
- _Icon_FaBaoIcon = GetUIUnit<MyImage>("Icon_FaBaoIcon");
- }
- return _Icon_FaBaoIcon;
- }
- }
- private GameObject _FaBaoInfoRoot;
- public GameObject FaBaoInfoRoot
- {
- get{
- if (_FaBaoInfoRoot == null)
- {
- _FaBaoInfoRoot = GetUIUnit<GameObject>("FaBaoInfoRoot");
- }
- return _FaBaoInfoRoot;
- }
- }
- private RectTransform _SkillContent;
- public RectTransform SkillContent
- {
- get{
- if (_SkillContent == null)
- {
- _SkillContent = GetUIUnit<RectTransform>("SkillContent");
- }
- return _SkillContent;
- }
- }
- private Text _Text_ItemDesc;
- public Text Text_ItemDesc
- {
- get{
- if (_Text_ItemDesc == null)
- {
- _Text_ItemDesc = GetUIUnit<Text>("Text_ItemDesc");
- }
- return _Text_ItemDesc;
- }
- }
- private Text _Text_ShuXingJiaCheng;
- public Text Text_ShuXingJiaCheng
- {
- get{
- if (_Text_ShuXingJiaCheng == null)
- {
- _Text_ShuXingJiaCheng = GetUIUnit<Text>("Text_ShuXingJiaCheng");
- }
- return _Text_ShuXingJiaCheng;
- }
- }
- private Text _Text_Desc;
- public Text Text_Desc
- {
- get{
- if (_Text_Desc == null)
- {
- _Text_Desc = GetUIUnit<Text>("Text_Desc");
- }
- return _Text_Desc;
- }
- }
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|