Skip to main content

Creating a Plugin

To create a new code plugin, we need a .uplugin file and a module. We can write these ourselves, or we can let the editor take care of generating all of the boilerplate for us automatically. Let's do it the easy way.

Using a plugin template

  • Open the Plugins browser. This can be found in the Edit menu and the Settings menu at the top right of the Level Editor.
  • At the top left of the Plugins browser window, click the + Add button.

The New Plugin window shows a list of available plugin templates. I will be using the Blank template for all of my examples, but feel free to have a look through the other options. You can also add your own template to the list of options.

  • Select the template you wish to use.
  • Give your plugin a name.
  • The other descriptors are optional and can be changed later.
  • Click Create Plugin.

Generating the plugin can take a minute or two, but once the editor has finished you will be able to see your new plugin's files inside of your project's /Plugins folder. The next page will explain what all of these new folders and files are for.