docs.unity.cn
    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
    Syntax
    [AttributeUsage(AttributeTargets.Struct, AllowMultiple = true)]
    public sealed class WithPresentAttribute : Attribute, _Attribute

    Constructors

    Name Description
    WithPresentAttribute(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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 20, 2023