docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method HasProperty

    HasProperty(uint, string)

    Return true if the property was found on the occurrence, will not throw any exception except if the entity does not exist.

    Declaration
    public bool HasProperty(uint entity, string propertyName)
    Parameters
    Type Name Description
    uint entity

    An entity that support properties

    string propertyName

    Name of the property

    Returns
    Type Description
    bool
    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)