How to Create a Scrollable Text Area with Text Mesh Pro in Unity ?

Uploaded by Christina Creates Games
Share: Twitter Facebook
In this step-by-step tutorial, I will guide you through creating a scrollable text area in Unity using the Scroll Rect and Text Mesh Pro. You don't need to know how to code for this one!

First, I'll show you how to resize the Scroll View and set up the background graphic. Then, I'll walk you through adding a Text Mesh Pro UI component to the Content Gameobject and using the Content size fitter component to make the text scrollable. You'll also learn how to adjust the margins and the vertical scrollbar and create a mask and image component to give the scrollbar the shape of your text box.

Scroll rect as overflow mode does not work since quite a while, read up on it here: https://forum.unity.com/threads/textmeshpro-scrollrect-overflowmode.533758/

-- Chapters --
00:00 The result of this tutorial
00:18 Setting up the basics: The rect transform and Text box
01:04 First steps: Make your Text Mesh Pro content scrollable
02:05 The details: Working with margins in Text Mesh Pro
02:16 Fixing the size of the vertical scroll bar
02:33 Shaping your text box with a mask
02:48 Wrapping Mode: Scroll rect does not work
03:06 Result and preview of creating tooltips with the link tag

#unitytutorial