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.
3. Base Class
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.