9 changed files with 42 additions and 18 deletions
Binary file not shown.
@ -0,0 +1,10 @@ |
|||
import { sound } from '@pixi/sound'; |
|||
|
|||
const Sound = sound.add('my-sound', { |
|||
url: "/bg.mp3", |
|||
autoPlay: true |
|||
}); |
|||
console.log(Sound); |
|||
|
|||
|
|||
export default sound |
Loading…
Reference in new issue