Revisiting Types, Methods, and Classes

Since we've programmed our game mechanics and interactions with Unity's built-in classes, now let's expand on our core C# knowledge and focus on the intermediate applications of the foundation we've laid. We'll revisit old friends—variables, types, methods, and classes—but we'll target their deeper applications and relevant use cases. Many of the topics we'll be covering don't apply to Hero Born in its current state, so some examples will be theoretical rather than specific to our current game prototype.

I'll be throwing a lot of new information your way, so if you feel overwhelmed at any point, don't hesitate to revisit the first few chapters to really solidify those building blocks. We'll also be ...

Get Learning C# by Developing Games with Unity 2019 - Fourth 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.