| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- 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;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|