Code problem from a merge request on GitHub

Just to make the distinction clear, when I talk about the scripting system, I’m referring to PlayCanva’s Scripting Component System and not Javascript.

PlayCanvas has two systems:

In terms of Javascript version, PlayCanvas is written ES5 IIRC in order to be as compatible as possible with browsers. It’s possible to use ES6 though as mentioned here: How to enable es6?

1 Like