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