I’m having troubles with the audio.time variable. After calling:
Start()
{
audio.play();
}
I access the time and print the value in a text field called “txtAudioTime” like so:
Update()
{
txtAudioTime.text = audio.time.ToString();
}
Everything works fine in the authoring tool’s “Game” window after hitting the play button with the appropriate Iphone settings enabled. But for some reason, it doesn’t work on the actual Iphone. Is there something I’m missing, or can there be a bug?
Thanks in advance.