this.scene is the scene object from the parent scene sent to a player object, playerId is a unique id per player. I'm calling it in the destroy() function above the super.destroy();
console.log'ing before calling either removeFolder() command shows the id exists. There is also a folder by that name.
When I call:
or
I get the error:
I'm adding folders and subfolders like so:
this.scene is the scene object from the parent scene sent to a player object, playerId is a unique id per player. I'm calling it in the destroy() function above the super.destroy();
console.log'ing before calling either removeFolder() command shows the id exists. There is also a folder by that name.