문제

I'm trying to play some sounds on my cubes but no luck I have a cheers.wav in my /assets/sounds and i'm calling it like this:

Sound cheers = Sounds.CreateSound("cheers");
cheers.Play(1,0);

changing the name throws an exception in the CreateSound() Method, so I know its loading it

도움이 되었습니까?

해결책

They are wav and mp3, although some wav's did not work for me, mp3 works fine

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top