Packages/com.unity.ugui/manual/StyledText #81
Replies: 2 comments
-
|
To escape a rich text tag replace the angle bracket characters with |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Note you can use the Color myColor = new Color(1, 0.77f, 1);
string foo = $"<color=#{ColorUtility.ToHtmlStringRGBA(myColor)}>Example</color>"; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Packages/com.unity.ugui/manual/StyledText
https://docs.unity3d.com/Packages/com.unity.ugui@latest/index.html?subfolder=%2Fmanual%2FStyledText.html
Beta Was this translation helpful? Give feedback.
All reactions