- Mastering Unreal Engine 4.X
- Muhammad A.Moniem
- 229字
- 2021-07-14 11:20:39
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.
- From within the Unreal Editor itself, you can simply hit the Compile button from the top bar. If there are code errors, Unreal will show you a failed message with a failed sound effect.
But anyways, regardless of the method you used, if compilation takes quite some time you can still make it faster as you can copy BuildConfiguration.XML
from the unreal Engine installation directory (for example): C:\Program Files (x86)\Epic Games\4.10\Engine\Programs\UnrealBuildTool
.
Paste it in your Unreal Engine documents folder (for example): C:\Users\<user>\Documents\Unreal Engine\UnrealBuildTool\
.
The last step is changing a small value from this XML file, which is ProcessorCountMultiplier
, to 2
or 4
is set to 1
by default.
<ProcessorCountMultiplier>1</ProcessorCountMultiplier>
- 企業(yè)級Java EE架構設計精深實踐
- Mastering Adobe Captivate 2017(Fourth Edition)
- 構建移動網(wǎng)站與APP:HTML 5移動開發(fā)入門與實戰(zhàn)(跨平臺移動開發(fā)叢書)
- C++ 從入門到項目實踐(超值版)
- Java:High-Performance Apps with Java 9
- Raspberry Pi Home Automation with Arduino(Second Edition)
- 交互設計師成長手冊:從零開始學交互
- 虛擬現(xiàn)實建模與編程(SketchUp+OSG開發(fā)技術)
- Using Yocto Project with BeagleBone Black
- Mastering Python
- 新手學ASP.NET 3.5網(wǎng)絡開發(fā)
- Learning Java by Building Android Games
- VBA Automation for Excel 2019 Cookbook
- 匯編語言程序設計教程
- C/C++程序設計教程:面向過程分冊