Automated: create new component page |
add info |
||
Line 3: | Line 3: | ||
|Name=Inventory Item | |Name=Inventory Item | ||
}} | }} | ||
The '''InventoryItem''' component is used in the inventory browser to act as the spawnable items in the user's inventory. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|RelativeToUserRoot|Bool| | |RelativeToUserRoot|Bool| Spawn in item relative to user root for the user who is spawning it. | ||
|SavedRotation|FloatQ| | |SavedRotation|FloatQ| The rotation of the saved item. | ||
|SavedScale|Float3| | |SavedScale|Float3| The scale of the saved item. | ||
}} | }} | ||
== | == Usage == | ||
Not used directly. generated by the inventory. | |||
== Examples == | == Examples == | ||
see [[Inventory]]. | |||
== See Also == | == See Also == | ||
* [[Inventory]] | |||
[[Category:Components:Uncategorized{{#translation:}}|Inventory Item]] | [[Category:Components:Uncategorized{{#translation:}}|Inventory Item]] | ||
[[Category:Components{{#translation:}}|Inventory Item]] | [[Category:Components{{#translation:}}|Inventory Item]] | ||
Latest revision as of 23:31, 12 March 2025
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
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.