docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetModule

    GetModule<T>()

    Get the module of the given type, if it has been loaded

    Declaration
    public T GetModule<T>() where T : IModule
    Returns
    Type Description
    T

    The module, if it has been loaded, or the default value for that type

    Type Parameters
    Name Description
    T

    The type of module

    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)