Quantcast
Channel: Answers for "Play sound ONCE!"
Viewing all articles
Browse latest Browse all 4

Answer by superventure

$
0
0
Found a solution. I was close in my original attempt: if(animation["x"].enabled && animation["x"].time == 0) audio.clip = xsound; audio.Play(); When you think about it, all sound clips are equal to zero at one point, so this will be a sure thing to check ONCE and one time during the life of the animation.

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images