123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class GuidePanel
- {
- #region 自定义数据
- private Button _Btn_Bg;
- public Button Btn_Bg
- {
- get{
- if (_Btn_Bg == null)
- {
- _Btn_Bg = GetUIUnit<Button>("Btn_Bg");
- }
- return _Btn_Bg;
- }
- }
- private RectTransform _FocusFrame01;
- public RectTransform FocusFrame01
- {
- get{
- if (_FocusFrame01 == null)
- {
- _FocusFrame01 = GetUIUnit<RectTransform>("FocusFrame01");
- }
- return _FocusFrame01;
- }
- }
- private Text _Text_Dialogue01;
- public Text Text_Dialogue01
- {
- get{
- if (_Text_Dialogue01 == null)
- {
- _Text_Dialogue01 = GetUIUnit<Text>("Text_Dialogue01");
- }
- return _Text_Dialogue01;
- }
- }
- private RectTransform _MessageBG;
- public RectTransform MessageBG
- {
- get{
- if (_MessageBG == null)
- {
- _MessageBG = GetUIUnit<RectTransform>("MessageBG");
- }
- return _MessageBG;
- }
- }
- private MyImage _Image_Npc;
- public MyImage Image_Npc
- {
- get{
- if (_Image_Npc == null)
- {
- _Image_Npc = GetUIUnit<MyImage>("Image_Npc");
- }
- return _Image_Npc;
- }
- }
- private Button _Btn_MessageBG;
- public Button Btn_MessageBG
- {
- get{
- if (_Btn_MessageBG == null)
- {
- _Btn_MessageBG = GetUIUnit<Button>("Btn_MessageBG");
- }
- return _Btn_MessageBG;
- }
- }
- private MyGuideMask _MyGuideMask;
- public MyGuideMask MyGuideMask
- {
- get{
- if (_MyGuideMask == null)
- {
- _MyGuideMask = GetUIUnit<MyGuideMask>("MyGuideMask");
- }
- return _MyGuideMask;
- }
- }
- private RectTransform _FocusFrame02;
- public RectTransform FocusFrame02
- {
- get{
- if (_FocusFrame02 == null)
- {
- _FocusFrame02 = GetUIUnit<RectTransform>("FocusFrame02");
- }
- return _FocusFrame02;
- }
- }
- private UISpiritLoader _UISpiritLoader;
- public UISpiritLoader UISpiritLoader
- {
- get{
- if (_UISpiritLoader == null)
- {
- _UISpiritLoader = GetUIUnit<UISpiritLoader>("UISpiritLoader");
- }
- return _UISpiritLoader;
- }
- }
- private Text _Text_NpcName;
- public Text Text_NpcName
- {
- get{
- if (_Text_NpcName == null)
- {
- _Text_NpcName = GetUIUnit<Text>("Text_NpcName");
- }
- return _Text_NpcName;
- }
- }
- private RectTransform _GuideHand;
- public RectTransform GuideHand
- {
- get{
- if (_GuideHand == null)
- {
- _GuideHand = GetUIUnit<RectTransform>("GuideHand");
- }
- return _GuideHand;
- }
- }
- private Button _OnClickMask;
- public Button OnClickMask
- {
- get{
- if (_OnClickMask == null)
- {
- _OnClickMask = GetUIUnit<Button>("OnClickMask");
- }
- return _OnClickMask;
- }
- }
- private CustomStateController _GuideHandState;
- public CustomStateController GuideHandState
- {
- get{
- if (_GuideHandState == null)
- {
- _GuideHandState = GetUIUnit<CustomStateController>("GuideHandState");
- }
- return _GuideHandState;
- }
- }
- private CustomStateController _DialogBoxState;
- public CustomStateController DialogBoxState
- {
- get{
- if (_DialogBoxState == null)
- {
- _DialogBoxState = GetUIUnit<CustomStateController>("DialogBoxState");
- }
- return _DialogBoxState;
- }
- }
- private MyImage _HeroIcon;
- public MyImage HeroIcon
- {
- get{
- if (_HeroIcon == null)
- {
- _HeroIcon = GetUIUnit<MyImage>("HeroIcon");
- }
- return _HeroIcon;
- }
- }
- private Text _Text_Dialogue02;
- public Text Text_Dialogue02
- {
- get{
- if (_Text_Dialogue02 == null)
- {
- _Text_Dialogue02 = GetUIUnit<Text>("Text_Dialogue02");
- }
- return _Text_Dialogue02;
- }
- }
- private Text _Text_Dialogue03;
- public Text Text_Dialogue03
- {
- get{
- if (_Text_Dialogue03 == null)
- {
- _Text_Dialogue03 = GetUIUnit<Text>("Text_Dialogue03");
- }
- return _Text_Dialogue03;
- }
- }
- private Button _Btn_Skip;
- public Button Btn_Skip
- {
- get{
- if (_Btn_Skip == null)
- {
- _Btn_Skip = GetUIUnit<Button>("Btn_Skip");
- }
- return _Btn_Skip;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|