|
how to play audio at a given time,i mean i wanted to play audio after 1 min in the game. anyone please. thank you
(comments are locked)
|
Simple as that. ;) Hope that helps, Klep It is not necessary (even buggy?) to ask to play it each frame once it is already playing, so this code is better:
Apr 05 '12 at 01:53 PM
Kryptos
Oh crap, sorry! Haha! What a stupid mistake! Literally facepalming right now ... Thanks for that pickup :D
Apr 05 '12 at 01:58 PM
Kleptomaniac
Edited answer :D Hahaha :D
Apr 05 '12 at 01:58 PM
Kleptomaniac
(comments are locked)
|
|
You can use coroutines. Following code is in C#, but JS is quite similar. And to use it, you just need to start the coroutine:
(comments are locked)
|
