Join Kelley Hecker for an in-depth discussion in this video Understanding the development environment, part of Scripting Unity with C#.
- The default development environment…for writing scripts in Unity is MonoDevelop,…which comes installed with Unity.…You can also set up VisualStudio to work with Unity.…But out of the box, MonoDevelop is the easiest to use.…I'll be showing you how to create…a script in the next chapter.…But for now I've just created a new script…and I'm going to double click to open it in MonoDevelop.…One of the great things about Unity is that your…scripts will compile automatically when you change them.…
If I add a new bit of code,…save and go back to the Editor,…I know my script is compiling…because of the spinning icon in the bottom…right corner of the Editor.…Because of this you probably won't use MonoDevelop…for much more than text editing.…But you can use it for debugging…by going to Run, Attach to Process,…selecting the Unity Editor,…and clicking Attach.…You can set break points by clicking in…the margin to the left of the line numbers.…
This red dot is a breakpoint.…It allows you to pause your application…when a specific line of code is reached.…
- Defining classes and variables
- Attaching scripts to objects
- Understanding MonoBehaviour class
- Using the Unity Scripting API
- Importing assets
- Using a singleton pattern to manage game state
- Creating an event
Skill Level Intermediate
Advanced Unity 3D Game Programmingwith Michael House3h 45m Advanced
Creating Mobile Games with Unitywith Kelley Hecker1h 12m Intermediate
1. Your First Script
3. Built-In Unity Classes
Picking up coins4m 8s
5. Events and Delegates
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.