You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have loaded the sounds using this.loadSounds() in App.js but when I go to call this.playSound("shoot"); in Player.js I get the following console error
TypeError: this.playSound is not a function
The text was updated successfully, but these errors were encountered:
I have loaded the sounds using
this.loadSounds()
in App.js but when I go to callthis.playSound("shoot");
in Player.js I get the following console errorThe text was updated successfully, but these errors were encountered: