Click or drag to resize
GameBlueprintUtilsCreateEntity Method (EntityManager, Blueprint, AttributeTable)
Creates an entity in the specified entity manager with the specified blueprint. 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,
	Blueprint blueprint,
	AttributeTable configuration = null
)

Parameters

entityManager
Type: Slash.ECS.ComponentsEntityManager
Entity manager to create entity at.
blueprint
Type: Slash.ECS.BlueprintsBlueprint
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