private void EndMessage(bool forceOff = false) { if (holdForever) { continueFromSpeech = true; return; } endTime = 0f; isSkippable = false; if (speaker) { speaker.StopSpeaking(); } if (!forceOff && gapIndex >= 0 && gapIndex < speechGaps.Count) { gapIndex++; } else { isAlive = false; KickStarter.stateHandler.UpdateAllMaxVolumes(); } }
private void EndMessage(bool forceOff = false) { isSkippable = false; if (speaker) { speaker.StopSpeaking(); } if (!forceOff && gapIndex >= 0 && gapIndex < speechGaps.Count) { gapIndex++; } else { isAlive = false; KickStarter.stateHandler.UpdateAllMaxVolumes(); } }