- Unity 3.x Game Development by Example Beginner's Guide
- Ryan Henson Creighton
- 134字
- 2021-04-02 18:34:11
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.
推薦閱讀
- Learning Docker
- C和C++安全編碼(原書第2版)
- Building a Quadcopter with Arduino
- C++從入門到精通(第5版)
- C專家編程
- R用戶Python學(xué)習(xí)指南:數(shù)據(jù)科學(xué)方法
- 軟件工程與UML案例解析(第三版)
- PHP 8從入門到精通(視頻教學(xué)版)
- Neo4j 3.x入門經(jīng)典
- Learning Shiny
- 樹莓派開發(fā)從零開始學(xué):超好玩的智能小硬件制作書
- Scratch 3.0少兒積木式編程(6~10歲)
- Mastering VMware Horizon 6
- Visual FoxPro程序設(shè)計教程(第3版)
- 零基礎(chǔ)學(xué)C++