YACC YACC
YACC YACC
Made with ❤️ for Unity

Search Results for

    Class CarLightsController

    This class is used to control the lights of the car. It is used to turn on and off the headlights and brake lights.

    Inheritance
    object
    CarLightsController
    Namespace: YACC.Controllers
    Assembly: .dll
    Syntax
    public class CarLightsController : MonoBehaviour

    Fields

    Name Description
    actionRefLights
    brakeColorIntensity

    The intensity of the brake lights.

    brakeLights

    Reference to any Light object in your car that you want to switch on.

    brakeMaterial
    brakingColor

    The color of the brake lights.

    headlightColor

    The color of the headlights.

    headlightColorIntensity

    The intensity of the headlights.

    headlightLights

    Reference to any Light object in your car that you want to switch on.

    headlightMaterial
    headlightsOn

    Flag to set if either the headlights are on or off.

    Methods

    Name Description
    ToggleHeadlights()
    © Deimos Industries Ltd. All rights reserved.