UnityReadme icon indicating copy to clipboard operation
UnityReadme copied to clipboard

Line breaks?

Open michaelybecker opened this issue 4 years ago • 1 comments

Hi! Love your Unity package - makes life that much easier when jumpstarting new projects. Is there any way to do line breaks in the Text field? \n didn't work (is this a YAML format thing?) and, more expectedly, neither does hitting enter. Could these be text boxes, perhaps? I'm going to tinker with the .asset myself but figured you'd probably know the answer. Thanks!

michaelybecker avatar Sep 11 '21 19:09 michaelybecker

You can add line breaks by surrounding your text with " (quotation marks) and adding \n where you want the line break.

For example:

  - heading: About this Project
    text: "This project contains the Unity C# Client.\n
	  Please get the latest release package from GitHub."
    linkText: Get the latest package from GitHub
    url: https://github.com/JohnAlbin/UnityReadme/releases

Produces in the Inspector:

Screenshot 2021-11-29 010558

conath avatar Nov 29 '21 00:11 conath