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

With great sandwich comes great responsibility

There are a few rules and "best practices" to follow when declaring functions.

  • Your function name should start with a capital letter.
  • You must never start a function with a number or some weirdo character like the Rod of Asclepius or you will get an error. An error is a written notice that Unity sends you when something you typed doesn't work or doesn't make sense.
  • You can press the Enter key to drop the top sandwich bun down a line. Some programmers (like me) prefer writing code this way so that they can see the open or closed sandwich buns lined up, but other programmers prefer code that doesn't spread out too much.
  • In this book, we'll use both approaches just to keep you on your toes.
主站蜘蛛池模板: 湘阴县| 钦州市| 城步| 左云县| 安龙县| 江阴市| 乌恰县| 理塘县| 阳西县| 吴桥县| 东乡县| 中卫市| 阜阳市| 普格县| 高阳县| 焦作市| 延安市| 东宁县| 泾川县| 灵石县| 花垣县| 秦安县| 新泰市| 沾化县| 岚皋县| 宝应县| 兴安县| 崇明县| 攀枝花市| 梨树县| 闽侯县| 隆回县| 竹北市| 乡城县| 泸州市| 平和县| 彰武县| 莱西市| 涞水县| 洞口县| 望奎县|