Spaces:
Build error
Build error
import Audio from './Audio.js'; | |
import ObjectFactory from '../ObjectFactory.js'; | |
import SetValue from '../../../plugins/utils/object/SetValue.js'; | |
ObjectFactory.register('audio', function (config) { | |
var gameObject = new Audio(this.scene, config); | |
this.scene.add.existing(gameObject); | |
return gameObject; | |
}); | |
SetValue(window, 'RexPlugins.Spinner.Audio', Audio); | |
export default Audio; |