- 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>
- Go Web編程
- 單片機C語言程序設計實訓100例:基于STC8051+Proteus仿真與實戰
- Reactive Programming with Swift
- Full-Stack Vue.js 2 and Laravel 5
- Xamarin.Forms Projects
- Backbone.js Blueprints
- Python數據分析從0到1
- Spring快速入門
- Node.js全程實例
- 零基礎Java學習筆記
- 一塊面包板玩轉Arduino編程
- Scala for Machine Learning(Second Edition)
- 人工智能算法(卷1):基礎算法
- Instant jQuery Boilerplate for Plugins
- Photoshop智能手機APP界面設計