Class GameObjectEntity
Inheritance
GameObjectEntity
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
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
World
Declaration
public World World { 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()