Struct VehicleControlEvent
Events related to the VehicleControl. These can be used to signal to the vehicle that an action is needed.
Implements
Inherited Members
Namespace: Unity.Vehicles
Assembly: com.unity.vehicles.dll
Syntax
[InternalBufferCapacity(0)]
public struct VehicleControlEvent : IBufferElementData
Constructors
VehicleControlEvent(Type)
Constructor for VehicleControlEvent.
Declaration
public VehicleControlEvent(VehicleControlEvent.Type type)
Parameters
Type | Name | Description |
---|---|---|
VehicleControlEvent.Type | type | Type of the event. |
Fields
EventType
The event type
Declaration
public VehicleControlEvent.Type EventType
Field Value
Type | Description |
---|---|
VehicleControlEvent.Type |