Class GameObjectEntity
Inheritance
GameObjectEntity
Syntax
[DisallowMultipleComponent]
[ExecuteAlways]
[AddComponentMenu("")]
public class GameObjectEntity : MonoBehaviour
Properties
Entity
Declaration
public Entity Entity { get; }
Property Value
EntityManager
Declaration
public EntityManager EntityManager { get; }
Property Value
Methods
AddToEntity(EntityManager, GameObject, Entity)
Declaration
public static void AddToEntity(EntityManager entityManager, GameObject gameObject, Entity entity)
Parameters
AddToEntityManager(EntityManager, GameObject)
Declaration
public static Entity AddToEntityManager(EntityManager entityManager, GameObject gameObject)
Parameters
Returns
CopyAllComponentsToEntity(GameObject, EntityManager, Entity)
Declaration
public static void CopyAllComponentsToEntity(GameObject gameObject, EntityManager entityManager, Entity entity)
Parameters
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()