docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method TryReadBoolValue

    TryReadBoolValue(out bool)

    Try to read the value of the input as a bool.

    Declaration
    protected bool TryReadBoolValue(out bool value)
    Parameters
    Type Name Description
    bool value

    When this method returns true, the value read. Otherwise, the default for the type.

    Returns
    Type Description
    bool

    Returns true if the value was successfully read.

    In This Article
    Back to top
    Copyright © 2023 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)