Example #1
0
 public GuideVoiceTask(int task, GuideTaskType type, GameObject mParent)
     : base(task, type, mParent)
 {
     //读取数据
     voiceTask = ConfigReader.GetVoiceTaskInfo(task);
     if (voiceTask == null)
     {
         Debug.LogError("GuideVoiceTask = " + task + "id 不存在");
     }
 }
Example #2
0
 public override void ClearTask()
 {
     base.ClearTask();
     AudioManager.Instance.StopGuideVoice();
     voiceTask = null;
 }