12345678910111213141516171819202122232425262728293031323334353637383940 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class DialogueOptionWidget
- {
- #region 自定义数据
- private Button _OptionWidget;
- public Button OptionWidget
- {
- get{
- if (_OptionWidget == null)
- {
- _OptionWidget = GetUIUnit<Button>("OptionWidget");
- }
- return _OptionWidget;
- }
- }
- private Text _Text_desc;
- public Text Text_desc
- {
- get{
- if (_Text_desc == null)
- {
- _Text_desc = GetUIUnit<Text>("Text_desc");
- }
- return _Text_desc;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|