Overriding the character class

To facilitate our future work and start some good practices, we will add a bit of specialized game code here by subclassing the existing MasteringCharacter native (implemented in C++) class that supplied. This can be done directly in Visual Studio by hand, but Epic Games have once again supplied us with some shortcuts in Unreal that we will use from the editor. So, let's begin with the editor opened to our project, as we left it in the previous section.

We will begin in the content browser window, which is typically docked to the bottom section of the editor by default. If it is not already open for you, or was closed for some reason, just reopen it by clicking on the Window at the top and scroll to Content ...

Get Mastering Game Development with Unreal Engine 4 - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.