Struct EngineStartStop
When enabled, VehicleEngineControlJob will read the value of the Start field and start or stop the engine.
Inherited Members
Namespace: Unity.Vehicles
Assembly: com.unity.vehicles.dll
Syntax
public struct EngineStartStop : IComponentData, IQueryTypeParameter, IEnableableComponent
Fields
Start
Starts the engine when set to true, stops the engine when set to false.
Declaration
public bool Start
Field Value
Type | Description |
---|---|
bool |