eva-engine / eva.js

Eva.js is a front-end game engine specifically for creating interactive game projects.
https://eva.js.org
MIT License
1.75k stars 108 forks source link

Sound component destroy 后仍然可以播放 #60

Closed lidongjies closed 3 years ago

lidongjies commented 3 years ago

Expected Behavior

sound component 在被 destroy 后不能继续播放

Current Behavior

Sound System 中使用的 decodeAudio 相比

Possible Solution

在设置 autoplay 时 destroy 后能够删掉 actionQueue 里的操作。

Steps to Reproduce

Environment

lidongjies commented 3 years ago

69