Last time I was in Playcanvas writing some boilerplate code, I wrote a scripts called move.
var Move = pc.createScript('move');
Which threw an error. Without any additional changes, I changed it to this
var Move = pc.createScript('new');
parsed the script, and everything ran like butter.
I was wondering if there is any way of knowing what names are acceptable. This already had me in a knot because I was looking at my move script for half an hour trying to figure out what was going wrong, until I found out it was just this name alone.
Right, I’m just now figuring out how Playcanvas works, including the console. I’ve got plenty of experience in Unity and done some simple React back in the day but I’m still adjusting. I found the console now (seems obvious in hindsight), so it’s my bad!