Struct ExclusiveEntityTransaction
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Syntax
public struct ExclusiveEntityTransaction
Methods
AddComponent(Entity, ComponentType)
Declaration
public void AddComponent(Entity entity, ComponentType type)
Parameters
CheckAccess()
Declaration
public void CheckAccess()
CreateArchetype(ComponentType[])
Declaration
public EntityArchetype CreateArchetype(params ComponentType[] types)
Parameters
Returns
CreateEntity(ComponentType[])
Declaration
public Entity CreateEntity(params ComponentType[] types)
Parameters
Returns
CreateEntity(EntityArchetype)
Declaration
public Entity CreateEntity(EntityArchetype archetype)
Parameters
Returns
CreateEntity(EntityArchetype, NativeArray<Entity>)
Declaration
public void CreateEntity(EntityArchetype archetype, NativeArray<Entity> entities)
Parameters
DestroyEntity(NativeArray<Entity>)
Declaration
public void DestroyEntity(NativeArray<Entity> entities)
Parameters
| Type |
Name |
Description |
| NativeArray<Entity> |
entities |
|
DestroyEntity(NativeSlice<Entity>)
Declaration
public void DestroyEntity(NativeSlice<Entity> entities)
Parameters
| Type |
Name |
Description |
| NativeSlice<Entity> |
entities |
|
DestroyEntity(Entity)
Declaration
public void DestroyEntity(Entity entity)
Parameters
| Type |
Name |
Description |
| Entity |
entity |
|
Exists(Entity)
Declaration
public bool Exists(Entity entity)
Parameters
| Type |
Name |
Description |
| Entity |
entity |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetComponentData<T>(Entity)
Declaration
public T GetComponentData<T>(Entity entity)where T : struct, IComponentData
Parameters
| Type |
Name |
Description |
| Entity |
entity |
|
Returns
Type Parameters
GetSharedComponentData<T>(Entity)
Declaration
public T GetSharedComponentData<T>(Entity entity)where T : struct, ISharedComponentData
Parameters
| Type |
Name |
Description |
| Entity |
entity |
|
Returns
Type Parameters
Instantiate(Entity)
Declaration
public Entity Instantiate(Entity srcEntity)
Parameters
| Type |
Name |
Description |
| Entity |
srcEntity |
|
Returns
Instantiate(Entity, NativeArray<Entity>)
Declaration
public void Instantiate(Entity srcEntity, NativeArray<Entity> outputEntities)
Parameters
| Type |
Name |
Description |
| Entity |
srcEntity |
|
| NativeArray<Entity> |
outputEntities |
|
RemoveComponent(Entity, ComponentType)
Declaration
public void RemoveComponent(Entity entity, ComponentType type)
Parameters
SetComponentData<T>(Entity, T)
Declaration
public void SetComponentData<T>(Entity entity, T componentData)where T : struct, IComponentData
Parameters
| Type |
Name |
Description |
| Entity |
entity |
|
| T |
componentData |
|
Type Parameters
SetSharedComponentData<T>(Entity, T)
Declaration
public void SetSharedComponentData<T>(Entity entity, T componentData)where T : struct, ISharedComponentData
Parameters
| Type |
Name |
Description |
| Entity |
entity |
|
| T |
componentData |
|
Type Parameters