- Learning C# 7 By Developing Games with Unity 2017(Third Edition)
- Micael DaGra?a Greg Lukosek
- 170字
- 2021-07-02 19:59:41
Variables become component properties
When we refer to components, we are basically referring to the available functions of a GameObject, for example, the human body has many functions, such as talking, moving, and observing. Now let's say that we want the human body to move faster. What is the function linked to that action? Movement. So in order to make our body move faster, we would need to create a script that had access to the movement component and then we would use that to make the body move faster. Just like in real life, different GameObjects can also have different components, for example, the camera component can only be accessed from a camera. There are plenty of components that already exist that were created by Unity's programmers, but we can also write our own components. This means that all the properties that we see in Inspector are just variables of some type. They simply store data that will be used by some method.
- PaaS程序設計
- SQL Server 2012數據庫技術及應用(微課版·第5版)
- Python爬蟲開發與項目實戰
- iOS應用逆向工程(第2版)
- R用戶Python學習指南:數據科學方法
- 編寫高質量代碼:改善Objective-C程序的61個建議
- Android嵌入式系統程序開發:基于Cortex-A8(第2版)
- Python商務數據分析(微課版)
- Scala編程實戰
- Windows Phone 8 Game Development
- 監控的藝術:云原生時代的監控框架
- OpenCV 3.0 Computer Vision with Java
- Mobile Forensics:Advanced Investigative Strategies
- Wearable:Tech Projects with the Raspberry Pi Zero
- Java語言程序設計與實現(微課版)