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

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.

主站蜘蛛池模板: 石柱| 东丽区| 灵璧县| 肥城市| 静乐县| 始兴县| 石渠县| 中卫市| 台湾省| 织金县| 淳化县| 日土县| 郧西县| 天台县| 五大连池市| 肥东县| 含山县| 乌兰县| 土默特左旗| 澎湖县| 大宁县| 伊川县| 丹东市| 华蓥市| 密云县| 太仆寺旗| 瓮安县| 金堂县| 宾阳县| 孝义市| 玉溪市| 恩施市| 江源县| 新竹县| 灵川县| 西贡区| 双牌县| 行唐县| 车致| 泗洪县| 永春县|