docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method HasCustomProperty

    HasCustomProperty(uint, string)

    Return true if the custom property was found on the occurrence

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public bool HasCustomProperty(uint entityId, string customPropertyName)
    Parameters
    Type Name Description
    uint entityId

    An entity that support properties

    string customPropertyName

    Name of the custom property

    Returns
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2025 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)