© 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_3

3. Base Class

Victor G Brusca1  
(1)
Edison, NJ, USA
 

The base class is the foundation of most of the classes in the Hover Racers game. For instance, if you open up a class and see the following in the class declaration, “: BaseScript”, then that class is a MonoBehaviour through extension of the BaseScript class. Let’s quickly review the base script class using the review template discussed in the following section.

Class Review Template

Describing the functionality and use of a code class can be difficult. There can be a lot of context and configuration involved with certain ...

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.