Component:InventoryItem

From Resonite Wiki
Revision as of 23:31, 12 March 2025 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Inventory Item component as seen in the Scene Inspector

The InventoryItem component is used in the inventory browser to act as the spawnable items in the user's inventory.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
RelativeToUserRoot Bool Spawn in item relative to user root for the user who is spawning it.
SavedRotation FloatQ The rotation of the saved item.
SavedScale Float3 The scale of the saved item.

Usage

Not used directly. generated by the inventory.

Examples

see Inventory.

See Also