Interface IDomainObject | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IDomainObject

    An interface that marks an implementation of a domain object type for DOTS, trait-based domains

    Namespace: Unity.AI.Planner.DomainLanguage.TraitBased
    Syntax
    public interface IDomainObject : IBufferElementData

    Methods

    MatchesTraitFilter(ComponentType[])

    Evaluate whether this domain object has the specified trait types

    Declaration
    bool MatchesTraitFilter(ComponentType[] traitTypes)
    Parameters
    Type Name Description
    ComponentType[] traitTypes

    Types of traits to match

    Returns
    Type Description
    System.Boolean

    Whether or not the domain object has the trait types

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023