Class GameObjectEntity
Inheritance
GameObjectEntity
Syntax
public class GameObjectEntity : UnityEngine.MonoBehaviour
Properties
Entity
Declaration
public Entity Entity { get; }
Property Value
EntityManager
Declaration
public EntityManager EntityManager { get; }
Property Value
Methods
AddToEntity(EntityManager, UnityEngine.GameObject, Entity)
Declaration
public static void AddToEntity(EntityManager entityManager, UnityEngine.GameObject gameObject, Entity entity)
Parameters
Type |
Name |
Description |
EntityManager |
entityManager |
|
UnityEngine.GameObject |
gameObject |
|
Entity |
entity |
|
AddToEntityManager(EntityManager, UnityEngine.GameObject)
Declaration
public static Entity AddToEntityManager(EntityManager entityManager, UnityEngine.GameObject gameObject)
Parameters
Type |
Name |
Description |
EntityManager |
entityManager |
|
UnityEngine.GameObject |
gameObject |
|
Returns
CopyAllComponentsToEntity(UnityEngine.GameObject, EntityManager, Entity)
Declaration
public static void CopyAllComponentsToEntity(UnityEngine.GameObject gameObject, EntityManager entityManager, Entity entity)
Parameters
Type |
Name |
Description |
UnityEngine.GameObject |
gameObject |
|
EntityManager |
entityManager |
|
Entity |
entity |
|
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()