- Unity 3D Game Development by Example Beginner's Guide
- Ryan Henson Creighton
- 130字
- 2021-04-09 22:51:30
The first piece of code (the first lines of our Script) looks like this:
function Update () { }
Click to place your cursor after the first curly bracket, and press the Enter key to make some space between the top and bottom curly braces. Press the Tab key to indent, to make your code look pretty. Then, type a single line of code so that your Script looks like this:
function Update () { renderer.enabled = false; }
Save your Script by pressing Ctrl + S or Command + S on the keyboard, or by choosing File | Save from the menu. For the remainder of this book, we'll assume that you've saved any modifications that you've made to your Scripts before trying them out.
推薦閱讀
- PS是這樣玩的:輕松掌握 Photoshop 通關秘籍
- 剪映短視頻制作全流程:剪輯、調色、字幕、音效
- Vue.js框架與Web前端開發從入門到精通
- JasperReports for Java Developers
- Photoshop CC 2017實戰基礎培訓教程(全視頻微課版)
- 零基礎學后期:Photoshop+Lightroom數碼照片處理從新手到高手
- SOLIDWORKS 2021中文版基礎入門一本通
- Plone 3 Multimedia
- Cinema 4D完全實戰技術手冊
- Salesforce CRM: The Definitive Admin Handbook
- 中文版3ds Max 2016實用教程
- iPad+Procreate室內設計手繪表現技法
- 中文版Maya 2016實用教程
- CAXA 實體設計2013案例課堂
- Photoshop CS6數碼照片處理入門到精通