Scripting, coding, programming — whatever term you use, it strikes terror into the hearts of newbies everywhere! The good news — it’s not as hard as you think. The bad news — it’s still harder than dragging sprites around the screen.
But heck, what isn’t?
Here’s the real secret about not getting overwhelmed when you start coding — you only need to know enough to get the job done right now; you don’t need to know everything all at once.
The videos in this module will show you three main things in your first piece of code (script):
- How to display messages from a script.
- How to destroy a game object in a scene.
That link will show you the first page of the scripting documentation for Unity. At the top of the page is a search field where you can look up commands. In this module we’ll be learning to use the Destroy API call — why not type that into the search field on that page and take a look at it before we get there?
Back to the Beginning 2D Game Development Dashboard