 | EntityManagerCreateEntity Method (Int32) |
Creates a new entity with the specified id.
Namespace: Slash.ECS.ComponentsAssembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntaxpublic int CreateEntity(
int id
)
Public Function CreateEntity (
id As Integer
) As Integer
public:
int CreateEntity(
int id
)
member CreateEntity :
id : int -> int
Parameters
- id
- Type: SystemInt32
Id of the entity to create.
Return Value
Type:
Int32Unique id of the new entity.
See Also