123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class DivineSenceEventResultPanel
- {
- #region 自定义数据
- private Object _myButton;
- public Object myButton
- {
- get{
- if (_myButton == null)
- {
- _myButton = GetUIUnit<Object>("myButton");
- }
- return _myButton;
- }
- }
- private MyImage _bg;
- public MyImage bg
- {
- get{
- if (_bg == null)
- {
- _bg = GetUIUnit<MyImage>("bg");
- }
- return _bg;
- }
- }
- private ScrollList _Content;
- public ScrollList Content
- {
- get{
- if (_Content == null)
- {
- _Content = GetUIUnit<ScrollList>("Content");
- }
- return _Content;
- }
- }
- private RectTransform _ContentRoot;
- public RectTransform ContentRoot
- {
- get{
- if (_ContentRoot == null)
- {
- _ContentRoot = GetUIUnit<RectTransform>("ContentRoot");
- }
- return _ContentRoot;
- }
- }
- 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_AllEvent;
- public Text Text_AllEvent
- {
- get{
- if (_Text_AllEvent == null)
- {
- _Text_AllEvent = GetUIUnit<Text>("Text_AllEvent");
- }
- return _Text_AllEvent;
- }
- }
- private Text _Text_Teshu;
- public Text Text_Teshu
- {
- get{
- if (_Text_Teshu == null)
- {
- _Text_Teshu = GetUIUnit<Text>("Text_Teshu");
- }
- return _Text_Teshu;
- }
- }
- private Text _Text_Result;
- public Text Text_Result
- {
- get{
- if (_Text_Result == null)
- {
- _Text_Result = GetUIUnit<Text>("Text_Result");
- }
- return _Text_Result;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|