EntityBase
Abstract class in SurvivEngine.Entities namespace
Inherits from UnityEngine.MonoBehaviour
Implements SurvivEngine.IHittable, SurvivEngine.IInteractable, SurvivEngine.Serialization.ISerializeDataParameters
Abstract class in SurvivEngine.Entities namespace
Inherits from UnityEngine.MonoBehaviour
Implements SurvivEngine.IHittable, SurvivEngine.IInteractable, SurvivEngine.Serialization.ISerializeDataParameters
Base class for all entities in SurvivEngine.
Read-Only
The event bus for firing events within the context of this entity.
Read-Only
For serialization purposes, the category of entity this entity is.
Read-Only
The name of this entity.
Will return a custom name if one is assigned.
A unique identifier for this specific entity.
Adds an entity component to this entity's set of components.
entityComponentBase The entity component to add.
Raise an event on this entity's entity event bus.
The type T must inherit from SurvivEngine.Events.EventBase.
event The event to send.
Removes an entity component from this entity's set of components.
entityComponentBase The entity component to remove.
Entry point into entity tick functionality.
tickTime Time since last tick.
Gets an entity component of type T from the entity's components.
The type T must inherit from SurvivEngine.Entities.EntityComponentBase.
Attempts to gets an entity component of type T from the entity's components.
The type T must inherit from SurvivEngine.Entities.EntityComponentBase.
t The retrieved component.