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.
Read time 3 minutesLast updated a day ago
Definition
- Type: Class
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = true)]public sealed class WithPresentAttribute : Attribute
Constructors
Constructor | Description |
|---|---|
| WithPresentAttribute(System.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. |