docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class WithPresentAttribute

    Specify that an IJobEntity should include all of the component types specified as part of the attribute, whether or not the components are enabled on individual entities.

    Inheritance
    object
    Attribute
    WithPresentAttribute
    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    [AttributeUsage(AttributeTargets.Struct, AllowMultiple = true)]
    public sealed class WithPresentAttribute : Attribute

    Constructors

    Name Description
    WithPresentAttribute(params Type[])

    Specifies that this IJobEntity should include all of the component types specified as part of the attribute, whether or not the components are enabled on individual entities.

    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)