- 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.
推薦閱讀
- Oracle 11g從入門到精通(第2版) (軟件開發視頻大講堂)
- DevOps for Networking
- 程序員面試筆試寶典
- Python高級編程
- Easy Web Development with WaveMaker
- Troubleshooting PostgreSQL
- Getting Started with React Native
- Python3.5從零開始學
- PHP編程基礎與實踐教程
- C語言程序設計習題與實驗指導
- Angular應用程序開發指南
- Building Dynamics CRM 2015 Dashboards with Power BI
- UI設計基礎培訓教程(全彩版)
- UML軟件建模
- Mastering Leap Motion