SampSharp
SampSharp
SampSharp.Entities
EntityManager Class
EntityManager Methods
AddComponent Method
Create Method
Destroy Method
Exists Method
GetChildren Method
GetComponent Method
GetComponentInChildren(T) Method
GetComponentInParent(T) Method
GetComponents Method
GetComponentsInChildren(T) Method
GetComponentsInParent(T) Method
GetParent Method
GetRootEntities Method
EntityManager
Create Method
Creates an entity with the specified specified entity.
Namespace:
SampSharp.Entities
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
Copy
public
void
Create
(
EntityId
entity
,
EntityId
parent
=
default
)
Parameters
entity
Type:
SampSharp.Entities
EntityId
The identifier of the entity to be created.
parent
(Optional)
Type:
SampSharp.Entities
EntityId
The parent of the entity to be created.
Implements
IEntityManager
Create(EntityId, EntityId)
See Also
Reference
EntityManager Class
SampSharp.Entities Namespace