- Learning C# 7 By Developing Games with Unity 2017(Third Edition)
- Micael DaGra?a Greg Lukosek
- 207字
- 2021-07-02 19:59:40
Getting into the Details of Variables
Initially, computer programming appears difficult to beginners due to the way in which words are used in code. It's not the actual words that cause the problem because, for most of the part, many of the words are the same as those we use in our everyday life. C# is not a foreign language. The main problem is that the words simply don't read like the typical sentences that we are all used to. You know how to say words and how to spell words. What you don't know is where and why you need to put them in that crazy-looking grammar, that is, the syntax that makes up a C# statement.
In this chapter, you will learn some of the basic rules of writing a C# statement. We will also introduce many of the words that C# uses and the proper placement of these words in C# statements when we create our variables.
In this chapter, we will cover the following topics:
- Writing C# statements properly
- Using C# syntax to write variable statements
- The GameObject component's properties
- Using public variables for the Unity Inspector panel
- Naming a variable properly
- Declaring a variable for the type of data it will store
- Boost程序庫完全開發指南:深入C++”準”標準庫(第5版)
- 從零構建知識圖譜:技術、方法與案例
- TypeScript入門與實戰
- Microsoft Exchange Server PowerShell Cookbook(Third Edition)
- 新編Premiere Pro CC從入門到精通
- JavaScript by Example
- SQL基礎教程(視頻教學版)
- Nexus規模化Scrum框架
- Nginx實戰:基于Lua語言的配置、開發與架構詳解
- Visual FoxPro程序設計習題集及實驗指導(第四版)
- Geospatial Development By Example with Python
- JSP程序設計實例教程(第2版)
- MongoDB Cookbook(Second Edition)
- Web前端測試與集成:Jasmine/Selenium/Protractor/Jenkins的最佳實踐
- 讀故事學編程:Python王國歷險記