using AX.MessageSystem; using UnityEngine; using System.Collections; using UnityEngine.UI; using AX.TrackRecord; public class TeachModeSet : MonoBehaviour { /// /// 授课学习 /// private bool Flag = true; private Animator Ani; private Button MyButton; private Toggle TheDraw;// 保存课件 private Toggle TheClear;// 一键清空 private Toggle TheHideName;// 隐藏名称 private Toggle TheTool;// 辅助工具 private Toggle TheExit;// 退出 public static TeachModeSet instance; private Text TheShowText; private GameObject Template;//辅助工具的父物体 private CeJuScript CeJu; private GameObject TimeZhou;//时间轴 private GameObject KeJianGame; void Awake() { if (instance == null) { instance = this; } //PrepareMode=7,//备课,自动开始轨迹记录 //TeachMode = 8,//授课模式 //ExamineMode=9,//考核模式 //SelfStudyMode=10,//自学模式 //PapeSetMode=11,//考卷设置模式 //CoursewareMode = 12//自学课件模式 } void Start () { Ani = this.gameObject.GetComponent(); MyButton = this.gameObject.transform.Find("模式").GetComponent