docs.unity.cn
    Show / Hide Table of Contents

    Method Matches

    Matches(Entity)

    Returns true if the entity matches the query, false if it does not. Applies any filters

    Declaration
    public bool Matches(Entity e)
    Parameters
    Type Name Description
    Entity e

    The entity to check for match

    Returns
    Type Description
    Boolean
    Remarks

    This function creates an EntityQueryMask, if one does not exist for this query already. A maximum of 1024 EntityQueryMasks can be allocated per World.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021