docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor BoolParameter

    BoolParameter(bool, bool)

    Creates a new BoolParameter instance.

    Declaration
    public BoolParameter(bool value, bool overrideState = false)
    Parameters
    Type Name Description
    bool value

    The initial value to store in the parameter

    bool overrideState

    The initial override state for the parameter

    BoolParameter(bool, DisplayType, bool)

    Creates a new BoolParameter instance.

    Declaration
    public BoolParameter(bool value, BoolParameter.DisplayType displayType, bool overrideState = false)
    Parameters
    Type Name Description
    bool value

    The initial value to store in the parameter

    BoolParameter.DisplayType displayType

    The display type to use for the parameter

    bool overrideState

    The initial override state for the parameter

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