- Learning C# by Developing Games with Unity 3D Beginner's Guide
- Terry Norton
- 180字
- 2021-08-04 10:03:57
Chapter 2. Introducing the Building Blocks for Unity Scripts
A programming language such as C# can appear to be very complicated at first but in reality, there are two parts that form its foundation. These parts are variables and methods. Therefore, understanding these critical parts is a prerequisite for learning any of the other features of C#. Being as critical as they are, they are very simple concepts to understand. Using these variable and method foundation pieces, we'll be introduced to the C# building blocks used to create Unity scripts.
For those people 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 in a script
- Using methods in a script
- The class which is a container for variables and methods
- Turning a script into a Component
- Components communicating using the Dot Syntax
Let's have a look at these primary concepts.
- scikit-learn Cookbook
- Spring Boot開發(fā)與測試實戰(zhàn)
- PaaS程序設(shè)計
- C# Programming Cookbook
- Getting Started with SQL Server 2012 Cube Development
- QGIS:Becoming a GIS Power User
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲案例實戰(zhàn)全流程詳解(高級進階篇)
- The HTML and CSS Workshop
- Julia高性能科學(xué)計算(第2版)
- Swift 4從零到精通iOS開發(fā)
- Julia for Data Science
- Scratch3.0趣味編程動手玩:比賽訓(xùn)練營
- 計算機應(yīng)用基礎(chǔ)教程(Windows 7+Office 2010)
- Citrix XenServer企業(yè)運維實戰(zhàn)
- Mastering Gephi Network Visualization