D
D
Dmitry Korolev2017-07-18 15:31:06
C++ / C#
Dmitry Korolev, 2017-07-18 15:31:06

How to display the progress change of a clip?

I need to display the change on the slider and label when the audiosource.time property changes.
When I use a coroutine for this, the sound lags a lot, when the update is not played at all.
Maybe there is some kind of system for this event?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Gaydak, 2017-07-18
@adressmoeistranici

Use it somehow incorrectly. Put down the value, instead of just counting. or on Update you run coroutine after coruntine))
There shouldn't be any problem just taking the current playing time from the idiosource. Checking if it's playing at all now.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question