snozbot / fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
MIT License
1.6k stars 291 forks source link

Fix GetSecondsRemaining #953

Closed KVinS closed 3 years ago

KVinS commented 3 years ago

Description

While doing lipsync, I ran into the fact that it is impossible to understand when the voice over clip finishes its playback.

What is the current behavior?

After playing a voice, the GetSecondsRemaining returns its full duration audio clip.

What is the new behavior?

After the voice clip has finished playing, the number of seconds remaining becomes 0.

stevehalliwell commented 3 years ago

Thanks for the PR.