Skip to main content

Site Navigation

Your Account

Choose Language

Help
Editing Step 8 —

Step Type:

Drag to rearrange

Copy the babylon.js file in to the same /public/js folder as your plugin. All .js files will automatically be loaded.

The example code from the site simply adds a canvas to the page. We are going to do the same thing in the plugin, but we have to decide where to put it.

Plugins have some references for a concept of the cockpit, global event emitter, etc.

The fully updated plugin code picture is here.