123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class GongFaDetailsPanel
- {
- #region 自定义数据
- private MyImage _Icon_GongFaIcon;
- public MyImage Icon_GongFaIcon
- {
- get{
- if (_Icon_GongFaIcon == null)
- {
- _Icon_GongFaIcon = GetUIUnit<MyImage>("Icon_GongFaIcon");
- }
- return _Icon_GongFaIcon;
- }
- }
- private List<MyImage> _StarRoot;
- public List<MyImage> StarRoot
- {
- get{
- if (_StarRoot == null)
- {
- _StarRoot = GetUIUnit<List<MyImage>>("StarRoot");
- }
- return _StarRoot;
- }
- }
- private RectTransform _Content;
- public RectTransform Content
- {
- get{
- if (_Content == null)
- {
- _Content = GetUIUnit<RectTransform>("Content");
- }
- return _Content;
- }
- }
- private Text _Text_GongFaDesc;
- public Text Text_GongFaDesc
- {
- get{
- if (_Text_GongFaDesc == null)
- {
- _Text_GongFaDesc = GetUIUnit<Text>("Text_GongFaDesc");
- }
- return _Text_GongFaDesc;
- }
- }
- private Text _Text_GongFaName;
- public Text Text_GongFaName
- {
- get{
- if (_Text_GongFaName == null)
- {
- _Text_GongFaName = GetUIUnit<Text>("Text_GongFaName");
- }
- return _Text_GongFaName;
- }
- }
- private Text _Text_SkillCd;
- public Text Text_SkillCd
- {
- get{
- if (_Text_SkillCd == null)
- {
- _Text_SkillCd = GetUIUnit<Text>("Text_SkillCd");
- }
- return _Text_SkillCd;
- }
- }
- private MyImage _Icon_Attribute;
- public MyImage Icon_Attribute
- {
- get{
- if (_Icon_Attribute == null)
- {
- _Icon_Attribute = GetUIUnit<MyImage>("Icon_Attribute");
- }
- return _Icon_Attribute;
- }
- }
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private Text _Text_Desc;
- public Text Text_Desc
- {
- get{
- if (_Text_Desc == null)
- {
- _Text_Desc = GetUIUnit<Text>("Text_Desc");
- }
- return _Text_Desc;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|