docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetInstanceByType

    GetInstanceByType(Type)

    Looks up the static 'Instance' property of the given ScriptableSettings.

    Declaration
    public static ScriptableSettingsBase GetInstanceByType(Type settingsType)
    Parameters
    Type Name Description
    Type settingsType

    The type that refers to a singleton class, which implements an 'Instance' property.

    Returns
    Type Description
    ScriptableSettingsBase

    The actual singleton instance of the specified class.

    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)