Customization
https://assetstore.unity.com/packages/slug/186884
Last updated
Was this helpful?
https://assetstore.unity.com/packages/slug/186884
Last updated
Was this helpful?
Every car object in the project is represented using a Scriptable Object.
In order to create a new car first you will have to create a new CarScriptableObject using the menu -> Right Mouse Click -> Create -> The Chase -> Create -> Car .
This will create a new empty CarScriptableObject .
Once this is done, create a new empty GameObject in your scene and attach a Car script and BoxCollider to it. Once this is done, add a car prefab as a child to the empty object you created and than properly update the BoxCollider's size to match the car's size.
Then you can attach Smoke & Skidmarks prefabs from Assets/hardartcore/TheChase/Prefabs/VFX folder and assign them to the Car script.
And then assign that prefab to the newly created CarScriptableObject as CarPrefab value.
Add the CarScriptableObject to the list of CarsManager in InitialScene and you are good to go.
Create a new MapScriptableObject using the same menu as when we were creating a Car.
Create a Tile GameObject (a simple Plane for example with material attached to it) and put some trees and rocks on it. Add Tile script and BoxCollider. Once that's done you can setup some Coins Positions and Abilities.
Save the object as Prefab and add it to MapScriptableObject 's Tile Prefabs array.
Add the new Map to MapManager in InitialScene and do not forget to add a new preview under Environment Gameobject in InitialScene too since the SelectionPanel uses those previews while letting the user to select a new map.
And that's it.