Compiling the code

Now with everything done for the controller, you're ready to jump back to the editor to make use of it. In order to have the code we made executed by the editor, you need to compile it first. Otherwise, the game will keep behaving as if this code has never been added.

There are different ways you can use to do that, both accessed from a different place. So you can:

  • From within the Visual Studio itself, right-click on the game project from the Solution Explorer window and hit Build, and that will do the build for you. If there are any errors, you'll see them in the output panel; otherwise, you will get a success message.
    Compiling the code
  • From within ...

Get Mastering Unreal Engine 4.X now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.