Component:InventoryLink

From Resonite Wiki
(Redirected from InventoryLink (Component))
This page contains changes which are not marked for translation.


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Inventory Link component as seen in the Scene Inspector

This component overrides the saving behavior of an item being saved to act as an inventory folder. The component will be overridden by another component if it is under another slot on an item with a different export behavior. (Ex: A Texture Exportable Component)

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.
TargetName String The name of the folder this component is linking to. This will change the display name of the folder when saved, but if shared by the same user again from their inventory, this will become what the cloud says the folder's name is and not the custom name it was when saved.
Target Uri The folder URI link on the cloud that this component represents.

Usage

Attach to a slot and give the component a TargetName and a URI that links to a folder on the cloud for the Target saving an item with this component on it will make the item act like a folder link.

Examples

Is the core component that drives the saving behavior of shared folder links within the world. (Those blue rectangle styled folders with a name on them)

Related Components