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

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.

主站蜘蛛池模板: 宁化县| 岢岚县| 大名县| 双流县| 宁武县| 三门县| 铁岭县| 靖远县| 搜索| 盐城市| 合阳县| 乃东县| 滨州市| 河北区| 柳林县| 玉环县| 鄂州市| 福贡县| 宁明县| 万荣县| 临泉县| 崇文区| 客服| 苗栗县| 高州市| 嘉义市| 舟曲县| 剑河县| 马尔康县| 呈贡县| 德惠市| 昂仁县| 红河县| 瑞金市| 阿克苏市| 潍坊市| 胶州市| 库尔勒市| 城口县| 和顺县| 阳高县|