docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetAssetType

    GetAssetType(Type)

    Gets the enum AssetType associated with the param systemType ofType

    Declaration
    public static AssetType GetAssetType(Type ofType)
    Parameters
    Type Name Description
    Type ofType

    The Type of the asset

    Returns
    Type Description
    AssetType

    An AssetType or Other if null or unknown.

    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)