Содержание
- 2. Topics Hello World? Creating a Unity Project The Unity Project Folder MonoDevelop: Unity's Code Editor Attaching
- 3. Hello World? Hello World is often the first program written by anyone learning a new programming
- 4. Hello World? The code of HelloWorld.cs is very simple:
- 5. Creating a Unity Project From the menu bar, choose File > New Project… Choose the location
- 6. Creating a Unity Project Set up defaults for 3D Click the Create Project or Create button
- 7. Creating a Unity Project The Project pane shows the contents of the Assets folder inside your
- 8. MonoDevelop: Unity's Code Editor Unity uses MonoDevelop for code editing MonoDevelop is a separate program developed
- 9. MonoDevelop: Unity's Code Editor The MonoDevelop Window Code Pane Classes Pane Document Outline Pane
- 10. Attaching Scripts to GameObjects To work in Unity, a C# script must be attached to a
- 11. Attaching Scripts to GameObjects This makes the script a component of the GameObject
- 12. Start() and Update() You make use of Start() and Update() in the HelloWorld project void Start()
- 13. GameObject Prefabs and Instantiation A prefab is a mold from which GameObject instances can be made
- 14. The HelloWorld Project Output "Hello World!" to the Console pane Once using Start() Many times using
- 15. The HelloWorld Project The final HelloWorld scene
- 17. Скачать презентацию