docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetEntryAssetType

    GetEntryAssetType(TableEntryReference)

    Returns the expected type for the entry. When an asset is first added to an entry, the type is recorded so that the Editor can ensure all subsequent assets that are added are compatible.

    Declaration
    public Type GetEntryAssetType(TableEntryReference tableEntry)
    Parameters
    Type Name Description
    TableEntryReference tableEntry

    The entry to return the asset type for.

    Returns
    Type Description
    Type

    The expected asset type or typeof(Object) if 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)