docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct VehicleControlEvent

    Events related to the VehicleControl. These can be used to signal to the vehicle that an action is needed.

    Implements
    IBufferElementData
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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

    Implements

    IBufferElementData
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)