Class EntityManagerExtensions
Inheritance
EntityManagerExtensions
Syntax
public static class EntityManagerExtensions
Methods
GetComponentObject<T>(EntityManager, Entity)
Declaration
public static T GetComponentObject<T>(this EntityManager entityManager, Entity entity)
where T : Component
Parameters
Returns
Type Parameters
Instantiate(EntityManager, GameObject)
Declaration
public static Entity Instantiate(this EntityManager entityManager, GameObject srcGameObject)
Parameters
Type |
Name |
Description |
EntityManager |
entityManager |
|
GameObject |
srcGameObject |
|
Returns
Instantiate(EntityManager, GameObject, NativeArray<Entity>)
Declaration
public static void Instantiate(this EntityManager entityManager, GameObject srcGameObject, NativeArray<Entity> outputEntities)
Parameters
Type |
Name |
Description |
EntityManager |
entityManager |
|
GameObject |
srcGameObject |
|
NativeArray<Entity> |
outputEntities |
|