- Unreal Development Kit Game Programming with UnrealScript:Beginner's Guide
- Rachel Cordone
- 114字
- 2021-08-27 11:59:07
Variable properties
Now we know what different types of variables are available to us and how to work with them. There are a few different variable properties that we need to know about to be able to use them to their fullest, first up, default properties.
Default properties
We know how to change a variable's value in our PostBeginPlay
function, and that integers for example start out at 0 by default. But is there a better way to set an initial value? We've used it before, so you may have guessed that the default properties block at the end of our class is where we do this. Let's take a look at an example.
推薦閱讀
- Mastering Delphi Programming:A Complete Reference Guide
- 辦公通信設備維修
- Unity 5.x Game Development Blueprints
- 微服務分布式架構基礎與實戰(zhàn):基于Spring Boot + Spring Cloud
- R Deep Learning Essentials
- Practical Machine Learning with R
- Machine Learning with Go Quick Start Guide
- 電腦高級維修及故障排除實戰(zhàn)
- Creating Flat Design Websites
- 龍芯自主可信計算及應用
- BeagleBone Robotic Projects
- Internet of Things Projects with ESP32
- 筆記本電腦維修實踐教程
- Managing Data and Media in Microsoft Silverlight 4:A mashup of chapters from Packt's bestselling Silverlight books
- Java Deep Learning Cookbook