- Home /
Can specified frames of an audio track trigger events?
Not the best use of Unity, maybe, but..... - I'm porting from a script based language. In my "game," the narration causes events on the screen to occur, like highlighting text at the frame in the audio in which the text is spoken, or objects moving when they are mentioned. I'm assuming I'll be doing this in UI system, sort of as a cutscene with very little interaction, and I'm assuming coroutines are involved, but beyond that, I cannot find any mention of this type of thing so far in my searches. At its simplest, the end of one audio clip, for example, will be the trigger for the beginning of the next audio clip. I'm the visual person, used to Flash and FinalCut, but am not afraid of a little scripting. Thanks.
When you start the audio start a corroutine where the first line have a yield new WaitForSeconds(seconds);
.
Your answer
Follow this Question
Related Questions
play audio for few seconds on key hit 1 Answer
Yield WaitForSeconds not working > once in coroutine 1 Answer
Yield/OnTriggerEnter Help C# 1 Answer
help whit WaitForSecond use. 1 Answer