Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在我的立方体上播放一些声音,但没有运气,我的 /assets/sounds 中有一个欢呼.wav,我这样称呼它:
Sound cheers = Sounds.CreateSound("cheers"); cheers.Play(1,0);
更改名称会在 CreateSound() 方法中引发异常,所以我知道它正在加载它
它们是 wav 和 mp3,虽然有些 wav 对我不起作用,但 mp3 可以正常工作