ItemEntity
Class in SurvivEngine.Entities.Items namespace
Inherits from SurvivEngine.Entities.EntityBase
Class in SurvivEngine.Entities.Items namespace
Inherits from SurvivEngine.Entities.EntityBase
An entity representing an item in the world.
Can be picked up by entities with an inventory.
Will continue to tick item tickers and perform item component functionality while in the world.
Sets the item held by this item entity.
Spawns the item's GameObject into the world.
Used on initialization and destruction of the item entity.
newItem The item to set.