Scripting the PlayCanvas Editor

So here is a very easy way to get any script to execute and run inside the PlayCanvas editor. This is an open source framework that enables editor scripting:

With a minimal change in the default runtime terrain script we get it to run and render in the editor:

3 Likes