String From Asset
Intro
The String From Asset Utility can be used to read strings from Text Assets imported into the Assets Window.
UI
Asset - Drag in a text asset from the Assets Window.
Example
- Import a
.txt
(plain text) file into the Assets Window - Create a String From Asset Utility
- Drag the
.txt
file from the Assets Window into the String From Asset's Asset attribute. - Create a Text Shape.
- Connect stringFromAsset.id→text.string.
The Text Shape will show the contents of the .txt
file.