官术网_书友最值得收藏!

Summary

This chapter introduced the basic concepts of variables, methods, and the dot syntax. These building blocks are used to create scripts and classes. Understanding how these building blocks work is critical, so you don't feel you're not getting it.

We discovered that a variable name is a substitute for the value it stores, a method name is a substitute for a block of code, and when a script or class is attached to a GameObject, it becomes a component. The dot syntax is just like an address for locating GameObjects and components.

With these concepts under your belt, you can proceed to learn the details of the sentence structure, grammar, and syntax used to work with variables, methods, and the dot syntax. You also learned how to make decisions in code based on variable values. In the next chapter, we will cover the details of using variables.

主站蜘蛛池模板: 武鸣县| 阿荣旗| 忻城县| 资阳市| 石嘴山市| 高邮市| 舟曲县| 西丰县| 河源市| 新丰县| 剑川县| 和田市| 玛沁县| 边坝县| 龙里县| 和静县| 抚宁县| 景谷| 历史| 镇宁| 乌兰县| 汝城县| 台前县| 徐汇区| 石景山区| 辛集市| 汨罗市| 三明市| 鄂尔多斯市| 平山县| 墨脱县| 潢川县| 英吉沙县| 浪卡子县| 双流县| 白城市| 鲜城| 安远县| 格尔木市| 漠河县| 南丹县|