- Unity 3D Game Development by Example Beginner's Guide
- Ryan Henson Creighton
- 261字
- 2021-04-09 22:51:30
Let's open our keep-up game project from the previous chapter, if it's not open already. We'll write a really simple Script and stick it to our Ball Game Object.
In the Project panel, right-click on an empty chunk of space and choose Create | JavaScript. Alternatively, you can click on Assets | Create | JavaScript in the menu at the top of the screen, or use the Create button at the top of the Project panel. It's not a bad idea to use the same menu to create a folder that will hold all your Scripts. A new Script is added to the Project panel with the default name NewBehaviourScript.
- Rename the Script. Click to select it, and press F2 on your keyboard on the PC, or click on it once more to rename it on the Mac. Change the Script's name to DisappearMe.
- Double-click on your new DisappearMe Script. You can also select it in the Project panel and click on the Edit button in the Inspector panel.

- A brand new window opens up this is Unity's default Script editor. It looks a lot like a basic text editor because that's all that Scripts really are plain old boring text. If you're a Mac user, Unity uses an editor called Unitron. If you're on a PC, Unity will launch UniSciTE.

推薦閱讀
- Object/Oriented Programming in ColdFusion
- Expert Cube Development with Microsoft SQL Server 2008 Analysis Services
- 中文版AutoCAD 2016從入門到精通
- Sphinx Search Beginner's Guide
- PPT 2016幻燈片設計與制作從入門到精通
- PHP應用開發與實踐
- Designing and Implementing Linux Firewalls and QoS using netfilter, iproute2, NAT and l7/filter
- 3ds Max/VRay印象燈光/材質/渲染技術精粹Ⅲ
- 深入淺出WebAssembly
- Creo快速入門教程(Creo 8.0中文版)
- Moodle 1.9 for Design and Technology
- 中文版Illustrator CC完全自學教程
- Photoshop CC平面設計實戰從入門到精通
- Creo 6.0產品設計實例精解
- 邊做邊學:After Effects CS6影視后期合成案例教程(微課版)