using System; using UnityEngine; using UnityEngine.UI; using ZXKFramework; namespace YiLiao.XinFeiTingZhen { public class TxtSelectQuestionPanel : UIBase { public override string GroupName => "TxtSelectQuestionPanel"; public override string Name => "TxtSelectQuestionPanel"; public Action nextAction; public Action subAction; TxtSelectManager[] txtSelectManagers; Button nextBtn; Button subBtn; int id; string stepName; public override void Init(IUIManager uictrl) { base.Init(uictrl); txtSelectManagers = GetComponentsInChildren(true); for (int i = 0; i < txtSelectManagers.Length; i++) { txtSelectManagers[i].Init(); } nextBtn = transform.FindFirst