ItemEntityManager
Class in SurvivEngine.Entities.Items namespace
Inherits from UnityEngine.MonoBehaviour
Class in SurvivEngine.Entities.Items namespace
Inherits from UnityEngine.MonoBehaviour
Singleton class that manages an item entity pool for re-using item entities.
Releases the given item entity back into the item entity pool.
itemEntity The item entity to release.
Creates an item entity with the given item at the given position and rotation.
item The item to assign to the item entity.
pos The position to create the item entity at.
rot The orientation to create the item entity with.