ABSTRACT

This chapter includes different uses for C#, more data types, and how to use arrays and lists. C# is a popular general-purpose Object-Oriented Programming language. It can be used for a variety of purposes: writing games, writing websites and web applications, writing business software, and research software. Unity is a popular game engine—it is used by indies and professionals alike and artists can download a version to experiment with for free. Unity is a component-based game engine, meaning that each game object has many components. There are dozens of methods available in Unity, but the chapter focuses on two: Start() and Update(). When artists are writing code in Unity, they are using an Integrated Development Environment (IDE). Unity supports two main IDEs: MonoDevelop and Visual Studio. Arrays are a data structure that help artists organize pieces of data. Arrays do not grow or shrink: they always hold the same amount of information.