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

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.

You also learned how to make decisions in code based on variable values. 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. In the next chapter, we will cover the details of using variables.

主站蜘蛛池模板: 万宁市| 雅江县| 绵阳市| 罗江县| 禄丰县| 定远县| 五台县| 云龙县| 抚顺县| 奈曼旗| 汶川县| 内丘县| 青州市| 阿拉善左旗| 壶关县| 始兴县| 台北县| 驻马店市| 绿春县| 华安县| 大足县| 汾阳市| 晋江市| 义乌市| 镇康县| 安平县| 福建省| 武隆县| 南华县| 陇川县| 色达县| 揭西县| 景洪市| 绿春县| 静宁县| 罗平县| 聂荣县| 揭阳市| 车险| 阿坝| 长沙县|