This template is ideal for Unity developers of all levels. Beginners can jumpstart their racing game with a full prototype, while advanced users can extend it with new physics, features or mechanics.
Features:
Cross-Platform: Tested on Android, Windows and Mac.
Modular Architecture: Utilizes GameEvents ScriptableObject for decoupled, event-based communication, avoiding singletons and simplifying customization.
Runtime Management: Leverages RuntimeItem and RuntimeSet for dynamic referencing of game objects (e.g., race managers, AI waypoints), enhancing flexibility.
Comprehensive Race System: Includes race start/countdown, checkpoint tracking, lap timing, and finish conditions (win/lose/timeout), all tied to a real-time position calculator.
UI Framework: Dual-layered GUI system (Menu UI and Race UI) for pre-race setup (car color, laps, AI bots) and in-race feedback (position, timer, pause/restart).
AI Behaviour: AI with waypoint navigation, obstacle avoidance (reverse when stuck, smart steering), and dynamic spawning.
Cross-Platform Input: Supports both hardware (keyboard/gamepad) and mobile touch controls via a flexible input manager.
Track Flexibility: Six track-based prefabs (Map, AI Waypoints, Spawning, Cameras, Checkpoints) allow easy adaptation to new racetracks.
New in v3.0: Complete codebase overhaul for better performance, maintainability, and extensibility compared to previous versions.
Sound Effects: Integrated SFX system for race cues (e.g., “Get Ready”, “Go”).
Compatible with Unity 6: Tested in Unity 2021.3.45f1 and 6000.0.43f1 versions.
Multiple Camera Views with automatic look back in reverse.
Attributions:
- Car models are from racoon media 3D racing assets v2 pack, and track & environment models were made by Kenney Assets.
- Some Unity Standard Assets components are used in this project as placeholders for car physics, particles, and sounds.
- This asset uses Racing kit (1.2) under [Creative Commons Zero, CC0] and 3D RACING ASSETS v2 under [Creative Commons Zero, CC0]; see License.txt files in package for details.
Original_Link: https://assetstore.unity.com/packages/templates/systems/racing-starter-kit-169750