- 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.
推薦閱讀
- Cocos2D-X權威指南(第2版)
- 企業級Java EE架構設計精深實踐
- Java系統分析與架構設計
- Python數據可視化:基于Bokeh的可視化繪圖
- Mastering Selenium WebDriver
- Java應用開發與實踐
- Learn Programming in Python with Cody Jackson
- 零基礎學Java(第4版)
- Kotlin Standard Library Cookbook
- Python數據分析從0到1
- VMware虛擬化技術
- 第一行代碼 C語言(視頻講解版)
- 邊玩邊學Scratch3.0少兒趣味編程
- MongoDB Cookbook(Second Edition)
- Mobile Forensics:Advanced Investigative Strategies