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.
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. |