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

Using the term method instead of function

You are constantly going to see the words function and method used everywhere as you learn Unity.

Note

The words function and method truly mean the same thing in Unity. They do the same thing.

Since you are studying C#, and C# is an Object-Oriented Programming (OOP) language, I will use the word "method" throughout this book, just to be consistent with C# guidelines. It makes sense to learn the correct terminology for C#. Also, UnityScript and Boo are OOP languages. The authors of the Scripting Reference probably should have used the word method instead of function in all documentation.

Note

From now on I'm going to use the words method or methods in this book. When I refer to the functions shown in the Scripting Reference, I'm going to use the word method instead, just to be consistent throughout this book.

主站蜘蛛池模板: 耒阳市| 紫阳县| 临邑县| 顺义区| 金秀| 河西区| 色达县| 门头沟区| 屯留县| 灵山县| 余干县| 江城| 喜德县| 濮阳县| 新巴尔虎左旗| 凭祥市| 武鸣县| 南涧| 鄂尔多斯市| 襄汾县| 丘北县| 九台市| 桃源县| 永仁县| 克东县| 宾川县| 西和县| 佛山市| 周至县| 突泉县| 信阳市| 紫金县| 韶山市| 宜丰县| 松江区| 靖江市| 梁山县| 南充市| 靖西县| 肥乡县| 彭州市|