docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property Instance

    Instance

    Retrieves a reference to the given settings class. Loads and initializes the class once, and caches the reference for all future access.

    Declaration
    public static T Instance { get; }
    Property Value
    Type Description
    T

    A settings class derived from ScriptableObject.

    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)