Chapter 18. Hello World: Your First Program

Welcome to coding.

By the end of this chapter, you’ll have created your own new project and written your first bits of code. We start with the classic Hello World project that has been a traditional first program since long before I started coding, and then we move on to something with more of a Unity flair to it.

Creating a New Project

Now that we’ve got the Unity window set up properly (in the previous chapter), let’s leave AngryBots behind and make our own program. Not surprisingly, you start this by creating a new project.

Appendix A, “Standard Project Setup Procedure,” contains detailed instructions that show you how to set up Unity projects for the chapters in this book. At the start of each ...

Get Introduction to Game Design, Prototyping, and Development: From Concept to Playable Game with Unity and C# now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.