Component:TextExportable

From Resonite Wiki
Revision as of 02:09, 7 July 2024 by AmasterAmaster (talk | contribs) (Added a description and usage.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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


Component image 
Text Exportable component as seen in the Scene Inspector


The TextExportable component allows the user to take a Slot and export it as a text file on their device.

To export using this component, look at the file browser export section.

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.
TextSource IValue`1<String> Anything that is a string, such as textfields, contents, etc.
Extension String The file type, defaults to .txt.
Description String The description of what this text export is. Will be shown during the export process.

Usage

This can be used to export anything that is text based, or anything you can fill the TextSource with such as log information or anything else that you wish to export out.

Examples

Related Components