- Learning C# by Developing Games with Unity 5.x(Second Edition)
- Greg Lukosek
- 172字
- 2021-07-09 20:03:31
Chapter 2. Introducing the Building Blocks for Unity Scripts
A programming language like C# 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 very necessary for learning 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 by 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
- OpenStack Cloud Computing Cookbook(Third Edition)
- Offer來(lái)了:Java面試核心知識(shí)點(diǎn)精講(原理篇)
- 羅克韋爾ControlLogix系統(tǒng)應(yīng)用技術(shù)
- Instant Typeahead.js
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優(yōu)化計(jì)算
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲(chóng)案例實(shí)戰(zhàn)全流程詳解(高級(jí)進(jìn)階篇)
- Teaching with Google Classroom
- Hands-On GUI Programming with C++ and Qt5
- 快速入門(mén)與進(jìn)階:Creo 4·0全實(shí)例精講
- 移動(dòng)增值應(yīng)用開(kāi)發(fā)技術(shù)導(dǎo)論
- Building Dynamics CRM 2015 Dashboards with Power BI
- Arduino可穿戴設(shè)備開(kāi)發(fā)
- WCF技術(shù)剖析(卷1)
- Visual Basic程序設(shè)計(jì)基礎(chǔ)
- 量子計(jì)算機(jī)編程:從入門(mén)到實(shí)踐