//=================================================== 代码自动创建,禁止手动修改 =================================================== using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; namespace Ether { public class DialogueFrameBase : FrameBase { public override string PrefabPath { get; } = "Prefabs/Frames/Dialogue/DialogueFrame"; protected ButtonEx _BtnExBgNext; protected TextMeshProUGUI _TextActorName; protected TextMeshProUGUI _TextContent; protected Transform _TransChoiceBtnList; protected GameObject _GoTempChoiceBtn; protected override void OnInit() { _BtnExBgNext = GetComponent("BgNext"); _TextActorName = GetComponent("DialogueRoot/ActorName"); _TextContent = GetComponent("DialogueRoot/Content"); _TransChoiceBtnList = GetComponent("ChoiceBtnList"); _GoTempChoiceBtn = GetChild("ChoiceBtnList/TempChoiceBtn").gameObject; } } }