triangular-flag_1f6a9.png

In this chapter, we’ll combine the last 3 scripts we created in a single user interface.

Table of contents


Untitled

Introduction

We are gonna make an editor utility widget that calls our python scripts.

You will find this user interface in the project files.

Untitled

Creating the user interface

Editor utility widgets are created using UMG, the UI designer for UE. It’s the same UI designer as for games and you can find plenty of resources online to learn about it.

Here, we will create a simple UI with 3 buttons.

To create an editor utility widget, right click in the content browser and choose Editor Utility Widget

Untitled

Once created, you can run it by right clicking on it and Run Editor Utility Widget.

Untitled

Right now there is nothing inside, let’s add the buttons!

The layout

Add a vertical layout with 3 buttons and texts.

Untitled

I won’t explain the details of the UI because this is UMG related and not Python related, but you can checkout the CustomTools widget in the project files if you never used UMG.

<aside> ℹ️ You can make changes while the widget is opened and press compile to see the results.

tflow.gif

</aside>