RemoveVehicle
Description
Remove a specific vehicle from the scene bypassing the remove conditions of the Traffic System.
The removed vehicle will be instantiated again when requested by the Traffic System.
Declaration
Parameters
Name
Description
vehicle
The root gameobject of the vehicle to be removed from the scene.
vehicleIndex
The index of the vehicle to be removed from the scene.
Example
Last updated