 | EntityManagerInitEntity Method |
Initializes the specified entity, adding the specified components.
Namespace: Slash.ECS.ComponentsAssembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntaxpublic void InitEntity(
int entityId,
IEnumerable<IEntityComponent> components
)
Public Sub InitEntity (
entityId As Integer,
components As IEnumerable(Of IEntityComponent)
)
public:
void InitEntity(
int entityId,
IEnumerable<IEntityComponent^>^ components
)
member InitEntity :
entityId : int *
components : IEnumerable<IEntityComponent> -> unit
Parameters
- entityId
- Type: SystemInt32
Id of the entity to initialize. - components
- Type: System.Collections.GenericIEnumerableIEntityComponent
Initialized components to add to the entity.
See Also