Exclude
Returns a ComponentType with ComponentType.AccessMode.Exclude based on the type.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
Exclude(Type)
Returns a ComponentType with ComponentType.AccessMode.Exclude based on the type.
[ExcludeFromBurstCompatTesting("Takes a managed Type")]public static ComponentType Exclude(Type type)
Parameters
The type
Returns
Type | Description |
|---|---|
| ComponentType | The component type |
Exclude(TypeIndex)
Returns a ComponentType with ComponentType.AccessMode.Exclude based on the typeIndex.
public static ComponentType Exclude(TypeIndex typeIndex)
Parameters
The index
Returns
Type | Description |
|---|---|
| ComponentType | The component type |
Exclude<T>()
Returns a ComponentType with ComponentType.AccessMode.Exclude based on the generic type T.
public static ComponentType Exclude<T>()
Returns
Type | Description |
|---|---|
| ComponentType | The component type |