![]() Every opening tag must have a corresponding closing tag. ![]() It has the same name as the opening tag, but the name is prefixed with a slash / character. You place another tag at the end of the section. The text inside the tag denotes its name (which in this case is just b). You place the opening tag at the beginning of the section. The basic idea is that a section of text can be enclosed inside a pair of matching tags:-Īs the example shows, the tags are just pieces of text inside the "angle bracket" characters. The markup system is inspired by HTML but isn't intended to be strictly compatible with standard HTML. The tags are not displayed but indicate style changes to be applied to the text. The Debug.Log function can also use these markup tags to enhance error reports from code. The Text, GUIStyle, GUIText and TextMesh classes have a Rich Text setting which instructs Unity to look for markup tags within the text. Rich text is supported both for the UI System and the legacy GUI system. The text for UI elements and text meshes can incorporate multiple font styles and sizes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |