docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetValue

    GetValue(LocaleIdentifier, out TPrimitive)

    Attempts to find a value for the provided LocaleIdentifier.

    Declaration
    public bool GetValue(LocaleIdentifier localeIdentifier, out TPrimitive foundValue)
    Parameters
    Type Name Description
    LocaleIdentifier localeIdentifier

    The LocaleIdentifier to check for.

    TPrimitive foundValue

    The value found for the LocaleIdentifier.

    Returns
    Type Description
    bool

    true if a value was found and false if one was not.

    Implements
    ITrackedPropertyValue<T>.GetValue(LocaleIdentifier, out T)

    GetValue(LocaleIdentifier, LocaleIdentifier, out TPrimitive)

    Attempts to find a value for the provided LocaleIdentifier or fallback.

    Declaration
    public bool GetValue(LocaleIdentifier localeIdentifier, LocaleIdentifier fallback, out TPrimitive foundValue)
    Parameters
    Type Name Description
    LocaleIdentifier localeIdentifier

    The LocaleIdentifier to check for.

    LocaleIdentifier fallback

    The LocaleIdentifier to fallback to if one could not be found for localeIdentifier.

    TPrimitive foundValue

    The value found for the LocaleIdentifier or fallback.

    Returns
    Type Description
    bool

    true if a value was found and false if one was not.

    Implements
    ITrackedPropertyValue<T>.GetValue(LocaleIdentifier, LocaleIdentifier, out T)
    In This Article
    Back to top
    Copyright © 2024 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)