WorldEntityManager
Class in SurvivEngine.World namespace
Inherits from UnityEngine.MonoBehaviour
Implements System.Collections.Generic.IEnumerable<EntityBase> and SurvivEngine.Serialization.ISerializeDataParameters
Class in SurvivEngine.World namespace
Inherits from UnityEngine.MonoBehaviour
Implements System.Collections.Generic.IEnumerable<EntityBase> and SurvivEngine.Serialization.ISerializeDataParameters
World component keeping track of all entities.
Read-Only
Whether or not more aggressive mobs can be spawned.
Read-Only
Whether or not more passive mobs can be spawned.
Read-Only
The count of currently active entities in the world.
Clears the entity registry and all pending registry changes.
Completes all pending registrations and unregistrations.
Queues registration of the given entity. Can optionally parent the entity's transform to the world.
entity The entity to register.
parentToWorld Whether or not to parent the entity's transform to the world.
Queues unregistration of the given entity.
entity The entity to unregister.