- 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.
- Learning Neo4j
- Mastering Selenium WebDriver
- JavaFX Essentials
- PyTorch Artificial Intelligence Fundamentals
- 羅克韋爾ControlLogix系統(tǒng)應(yīng)用技術(shù)
- Java技術(shù)手冊(原書第7版)
- Instant QlikView 11 Application Development
- 單片機(jī)應(yīng)用與調(diào)試項目教程(C語言版)
- Learning PHP 7
- Web前端應(yīng)用開發(fā)技術(shù)
- Python趣味編程與精彩實例
- Python Digital Forensics Cookbook
- Python Machine Learning Cookbook
- Python編程入門(第3版)
- Elastix Unified Communications Server Cookbook