- Learning C# 7 By Developing Games with Unity 2017(Third Edition)
- Micael DaGra?a Greg Lukosek
- 165字
- 2021-07-02 19:59:36
Introducing the Building Blocks for Unity Scripts
The C# programming language can appear to be very complicated at first, but in reality, there are two basic parts that form its foundation. These parts are variables and methods. Therefore, understanding these critical parts is necessary to learn any of the other features of C#. As critical as they are, they are very simple concepts to understand. Using these variable and method foundation pieces, we'll introduce the C# building blocks that are used to create Unity scripts.
For those who get sweaty palms just thinking of the word script, wipe your hands and relax! In this chapter, I'm going to use terms that are already familiar to you to introduce the building blocks of programming. The following are the concepts introduced in this chapter:
- Using variables and methods in scripts
- The class, which is a container for variables and methods
- Turning a script into a component
- Components that communicate using the dot syntax
- Making decisions in code
- 手機安全和可信應(yīng)用開發(fā)指南:TrustZone與OP-TEE技術(shù)詳解
- Boost程序庫完全開發(fā)指南:深入C++”準(zhǔn)”標(biāo)準(zhǔn)庫(第5版)
- Photoshop智能手機APP UI設(shè)計之道
- Essential Angular
- SQL Server 2016數(shù)據(jù)庫應(yīng)用與開發(fā)習(xí)題解答與上機指導(dǎo)
- 軟件架構(gòu):Python語言實現(xiàn)
- 琢石成器:Windows環(huán)境下32位匯編語言程序設(shè)計
- 高級語言程序設(shè)計(C語言版):基于計算思維能力培養(yǎng)
- SQL Server從入門到精通(第3版)
- Python Data Structures and Algorithms
- 用戶體驗可視化指南
- Node學(xué)習(xí)指南(第2版)
- Struts 2.x權(quán)威指南
- Application Development with Swift
- INSTANT Apache Hive Essentials How-to