123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class DivineSenceEventPreviewPanel
- {
- #region 自定义数据
- private Button _myButton;
- public Button myButton
- {
- get{
- if (_myButton == null)
- {
- _myButton = GetUIUnit<Button>("myButton");
- }
- return _myButton;
- }
- }
- private Object _Massge;
- public Object Massge
- {
- get{
- if (_Massge == null)
- {
- _Massge = GetUIUnit<Object>("Massge");
- }
- return _Massge;
- }
- }
- 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;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|