using System; using DG.Tweening; using TMPro; using UnityEngine; using UnityEngine.UI; public class UI_TeacherStudentPanel : BasePanel { public Button LeftBtn; //左侧大按钮 public Button CloseBtn; //关闭按钮 public TMP_InputField AskInputField; //提问框 public Button CommentBtn; //提交评论按钮 private CanvasGroup canvasGroup ; //屏幕显示 public Transform ContentTrans; //问答生成父物体 public UI_Comment CommentObj; private GameObject Player; protected override void Awake() { base.Awake(); OnInit(); } public void OnInit() { LeftBtn = GetControl