docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct EngineStartStop

    When enabled, VehicleEngineControlJob will read the value of the Start field and start or stop the engine.

    Implements
    IComponentData
    IQueryTypeParameter
    IEnableableComponent
    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
    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

    Implements

    IComponentData
    IQueryTypeParameter
    IEnableableComponent
    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)