Skip to content

DatabaseVehicle

Tommo J. Phillips edited this page Oct 22, 2023 · 2 revisions

DatabaseVehicle

Namespace: TommoJProductions.ModApi.GameDatabase

Represents vehicle data.

public class DatabaseVehicle

Inheritance ObjectDatabaseVehicle

Fields

gameObject

Represents the vehicles root game object.

public GameObject gameObject;

Properties

drivetrain

Represents the vehicles drivetrain.

public Drivetrain drivetrain { get; }

Property Value

Drivetrain

carDynamics

Represents the vehicles car dynamics.

public CarDynamics carDynamics { get; }

Property Value

CarDynamics

Constructors

DatabaseVehicle(GameObject)

inits new instance of database vehicle.

public DatabaseVehicle(GameObject vehicleReference)

Parameters

vehicleReference GameObject
the reference to the root of a vehicle.

Clone this wiki locally