123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class DialoguePanel
- {
- #region 自定义数据
- private GameObject _nextIcon;
- public GameObject nextIcon
- {
- get{
- if (_nextIcon == null)
- {
- _nextIcon = GetUIUnit<GameObject>("nextIcon");
- }
- return _nextIcon;
- }
- }
- private Text _message;
- public Text message
- {
- get{
- if (_message == null)
- {
- _message = GetUIUnit<Text>("message");
- }
- return _message;
- }
- }
- private Button _nextButton;
- public Button nextButton
- {
- get{
- if (_nextButton == null)
- {
- _nextButton = GetUIUnit<Button>("nextButton");
- }
- return _nextButton;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|