Editing our class in VS and hot-reloading the editor

So, now that our class is added with the MasteringCharacter as its parent, let's edit it in C++ and see our changes over in the editor. I suggest detaching the debugger as described in the last paragraph, but stopping debugging and restarting the editor is not a problem if you decide to do that. If you do detach, note that you need to right-click on the Mastering project in the solution explorer, select Unload Project, and then right-click it again and click on Reload Project to make sure that everything matches the current state (this is much faster than closing and reopening VS). In the solution explorer, you can now find the StealthCharacter.h and .cpp files under Source/Mastering. Open ...

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.