© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. G. BruscaAdvanced Unity Game Developmenthttps://doi.org/10.1007/978-1-4842-7851-2_4

4. Interaction Classes

Victor G Brusca1  
(1)
Edison, NJ, USA
 

Welcome to the chapter on interaction classes. In this chapter, we’re going to dive into the project and start reviewing the classes that support hover racer modifiers and interactions. I sometimes refer to these interactions as game mechanics, and vice versa, but this is slightly inaccurate. Let me clarify a bit. The interactions we’re reviewing here are powered by the Unity engine. They use MonoBehaviour-based classes and collision boxes to determine when the hover racers trigger a collision event.

At this point, ...

Get Advanced Unity Game Development: Build Professional Games with Unity, C#, and Visual Studio 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.