Component:BrowserCreateDirectoryDialog

From Resonite Wiki
Revision as of 19:08, 11 February 2025 by 989onan (talk | contribs) (add info)
Component image 
Browser Create Directory Dialog component as seen in the Scene Inspector

The BrowserCreateDirectoryDialogue component is used mainly in the inventory screen when creating a new directory in the 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.
_browser BrowserDialog The source browser Component. Usually the inventory browser Component that controls the inventory functions.
_callback delegate of identity CreateHandler A sync delegate to call when the Create Folder dialogue is confirmed.
_text Text The text for the Create Directory dialouge box.
_textField TextField The text field that is the name of the new directory.

CreateHandler

A sync delegate that takes a name and an "out string message" and modifies the message coming in. Returns a boolean.

Usage

Used internally. Don't use it. :)

Examples

The create directory dialogue in the inventory screen.

See Also