There are actually two ways to add a scrollable text to your experience:
Using the Text Asset Overflow behavior property - Scrollbars
Or
Using a Text Asset inside a Scroll Collection
1) Overflow behavior property - Scrollbars
This one is the easiest option, just add a Text Asset to your Scene, add your text content, resize your Text Asset container to the desired size
Then choose Scrollbars in the Overflow behavior of the Text Asset
It will automatically turn your Text Asset to a scrollable text
2) Text Asset inside a Scroll Collection
The assets we will use:
In the following example we create vertically scrolling text.
- Add an empty Scroll Collection into your scene.
The Asset Grid collection will be your scrollable text zone.
(Click to enlarge) - Add a Text Asset onto the scene and paste your text into it. Resize it vertically so it will display all of your text.
(Click to enlarge) - Put the Text asset inside the Scroll Collection and then resize the Scroll Collection so it is as wide as the Text Asset and as tall as the amount of text you wish to reveal without scrolling.
(Click to enlarge) - Set the "Scroll direction" property of the Scroll Collection to "Vertical".
You now have vertically scrollable text. Enter Composer's Play Mode to see it in action.
Comments
0 comments
Article is closed for comments.