docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator implicit operator

    implicit operator T(UserSetting<T>)

    Implicit cast to backing type.

    Declaration
    public static implicit operator T(UserSetting<T> pref)
    Parameters
    Type Name Description
    UserSetting<T> pref

    The UserSetting{T} to cast to {T}.

    Returns
    Type Description
    T

    The currently stored value.

    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)