- Learning C# by Developing Games with Unity 3D Beginner's Guide
- Terry Norton
- 112字
- 2021-08-04 10:04:01
Summary
We first covered how to write a C# statement, especially the semi-colon to terminate a statement. All the Component properties shown in the Inspector panel are member variables in the Component's class. Member variables can be shown in the Inspector panel, or accessed by other scripts when the variable is declared as public
. The type of data a variable can store is specified when it's declared. Finally, we learned that variable scope determines where it is allowed to be used.
Now that we've learned about variables, we're ready to learn the details of C# methods that will use the variables we create – which is the topic of the next chapter.
推薦閱讀
- Python概率統計
- Visual C++程序設計教程
- Monkey Game Development:Beginner's Guide
- Python數據分析入門與實戰
- SQL學習指南(第3版)
- C#程序設計教程
- SEO智慧
- Essential Angular
- Securing WebLogic Server 12c
- Visual C++數字圖像處理技術詳解
- Hands-On Functional Programming with TypeScript
- Learning Three.js:The JavaScript 3D Library for WebGL
- Java面向對象程序設計
- 從零開始學C#
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)