Creating custom blueprint nodes

Blueprint is very powerful and has access to most of the functions that are created for a particular class, but there may be certain pieces of code that you want to be always available for use inside Blueprints. Thankfully, we can make use of a custom class extending from Blueprint Function Library to do so.

Getting ready

Before we start working on this, we need to have a project created and set up. Follow the Setting up your development environment recipe all the way to completion.

How to do it…

Often games will display a copyright notice on the main menu. We also do this at the beginning of every class that we create at the header with it, by default, displaying this:

//Fill out your copyright notice in the Description ...

Get Unreal Engine: Game Development from A to Z 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.