O'Reilly logo

Learning Unreal Engine Android Game Development by Nitish Misra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Blueprint class

As already mentioned, scripting for each key cube would just be a tedious and time-consuming task. With a Blueprint class, you would need to do all the scripting and everything else only once. A Blueprint class is an entity that contains actors (static meshes, volumes, camera classes, trigger box, and so on) and functionalities scripted in it. Looking at our example once again of the lamp turning on/off, say you want to place 10 such lamps. With a Blueprint class, you would just have to create and script once, save it, and duplicate it. This is really an amazing feature offered by UE4.

Creating a Blueprint class

To create a Blueprint class, click on the Blueprints button in the Viewport toolbar, and in the dropdown menu, select ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required