1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class TipMessagePanel
- {
- #region 自定义数据
- private Text _message;
- public Text message
- {
- get{
- if (_message == null)
- {
- _message = GetUIUnit<Text>("message");
- }
- return _message;
- }
- }
- private RectTransform _dotPoint;
- public RectTransform dotPoint
- {
- get{
- if (_dotPoint == null)
- {
- _dotPoint = GetUIUnit<RectTransform>("dotPoint");
- }
- return _dotPoint;
- }
- }
- private MyImage _bg_icon;
- public MyImage bg_icon
- {
- get{
- if (_bg_icon == null)
- {
- _bg_icon = GetUIUnit<MyImage>("bg_icon");
- }
- return _bg_icon;
- }
- }
- private Button _button_bg;
- public Button button_bg
- {
- get{
- if (_button_bg == null)
- {
- _button_bg = GetUIUnit<Button>("button_bg");
- }
- return _button_bg;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|