- 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.
推薦閱讀
- 電腦常見問題與故障排除
- 數字邏輯(第3版)
- Mastering Manga Studio 5
- Learning Game Physics with Bullet Physics and OpenGL
- 筆記本電腦維修不是事兒(第2版)
- Large Scale Machine Learning with Python
- 單片機系統設計與開發教程
- 超大流量分布式系統架構解決方案:人人都是架構師2.0
- LPC1100系列處理器原理及應用
- Spring Cloud微服務和分布式系統實踐
- 基于網絡化教學的項目化單片機應用技術
- Intel FPGA權威設計指南:基于Quartus Prime Pro 19集成開發環境
- FreeSWITCH Cookbook
- 計算機組裝與維護教程
- 新編計算機組裝與維護