Click or drag to resize
GameBlueprintUtilsCreateEntity Method (EntityManager, IBlueprintManager, String, AttributeTable)
Creates an entity in the specified entity manager with the blueprint from the specified blueprint manager with the specified id. Uses the specified configuration for initialization.

Namespace: Slash.Application.Games
Assembly: Slash.Application (in Slash.Application.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static int CreateEntity(
	EntityManager entityManager,
	IBlueprintManager blueprintManager,
	string blueprintId,
	AttributeTable configuration = null
)

Parameters

entityManager
Type: Slash.ECS.ComponentsEntityManager
Entity manager to create entity at.
blueprintManager
Type: Slash.ECS.BlueprintsIBlueprintManager
Blueprint manager to use to find blueprint.
blueprintId
Type: SystemString
Id of blueprint to use.
configuration (Optional)
Type: Slash.Collections.AttributeTablesAttributeTable
Configuration to use for initialization of entity.

Return Value

Type: Int32
Id of created entity.
See Also