WithDisabledAttribute
Specify that an IJobEntity should include all of the component types specified as part of the attribute, but they must all be disabled.
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 WithDisabledAttribute : Attribute
Constructors
Constructor | Description |
|---|---|
| WithDisabledAttribute(System.Type[]) | Specifies that this IJobEntity should include all of the component types specified as part of the attribute, but they must all be disabled. |