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

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.
主站蜘蛛池模板: 库伦旗| 嵩明县| 通化市| 商城县| 临澧县| 上思县| 鄱阳县| 深州市| 甘孜县| 封开县| 海阳市| 大荔县| 鹰潭市| 葵青区| 烟台市| 望城县| 安康市| 文安县| 金寨县| 雷州市| 敖汉旗| 蛟河市| 织金县| 张家界市| 射阳县| 枝江市| 平塘县| 伊吾县| 邯郸市| 扬州市| 宝兴县| 芦山县| 佛冈县| 九寨沟县| 龙州县| 泸西县| 伊宁县| 皋兰县| 乐陵市| 万安县| 依兰县|