CHAPTER 19

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 to write in a new language 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 you have the Unity window set up properly (from the previous chapter), it's time to start writing your own code. 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 ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.