123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class PlacesInfoWidget
- {
- #region 自定义数据
- private MyImage _Icon_Places;
- public MyImage Icon_Places
- {
- get{
- if (_Icon_Places == null)
- {
- _Icon_Places = GetUIUnit<MyImage>("Icon_Places");
- }
- return _Icon_Places;
- }
- }
- private Button _Btn_Qianwang;
- public Button Btn_Qianwang
- {
- get{
- if (_Btn_Qianwang == null)
- {
- _Btn_Qianwang = GetUIUnit<Button>("Btn_Qianwang");
- }
- return _Btn_Qianwang;
- }
- }
- private Text _Text_Name;
- public Text Text_Name
- {
- get{
- if (_Text_Name == null)
- {
- _Text_Name = GetUIUnit<Text>("Text_Name");
- }
- return _Text_Name;
- }
- }
- private Text _Text_Desc;
- public Text Text_Desc
- {
- get{
- if (_Text_Desc == null)
- {
- _Text_Desc = GetUIUnit<Text>("Text_Desc");
- }
- return _Text_Desc;
- }
- }
- private MyImage _Icon_Marsk;
- public MyImage Icon_Marsk
- {
- get{
- if (_Icon_Marsk == null)
- {
- _Icon_Marsk = GetUIUnit<MyImage>("Icon_Marsk");
- }
- return _Icon_Marsk;
- }
- }
- private Text _Text_Tips;
- public Text Text_Tips
- {
- get{
- if (_Text_Tips == null)
- {
- _Text_Tips = GetUIUnit<Text>("Text_Tips");
- }
- return _Text_Tips;
- }
- }
- private Button _Btn_Jiesuo;
- public Button Btn_Jiesuo
- {
- get{
- if (_Btn_Jiesuo == null)
- {
- _Btn_Jiesuo = GetUIUnit<Button>("Btn_Jiesuo");
- }
- return _Btn_Jiesuo;
- }
- }
- private MyImage _Icon_DIdian;
- public MyImage Icon_DIdian
- {
- get{
- if (_Icon_DIdian == null)
- {
- _Icon_DIdian = GetUIUnit<MyImage>("Icon_DIdian");
- }
- return _Icon_DIdian;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|