You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-6Lines changed: 37 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,9 @@ UnityVer:6000.0.23f1(LTS)
19
19
UGUI:2.0.0
20
20
```
21
21
22
-
Versions prior to Unity6 should use the `v1.2.0` tag.
22
+
Versions prior to Unity6 should use the `v1.3.0` tag.
23
23
24
-
It is possible to install `v1.2.0` in Unity6, but it is not recommended because package.json contains dependency information on the old `TextMeshPro v3.0.6`.
24
+
It is possible to install `v1.3.0` in Unity6, but it is not recommended because package.json contains dependency information on the old `TextMeshPro v3.0.6`.
You can use `<ruby=ice>fire</ruby>` tag or `<r=ice>fire</r>` tag. Both are the same.
60
+
Ruby tags allow you to annotate text with small "ruby" characters (e.g., for pronunciation or additional information). Various styles of ruby tags are supported, providing flexibility and backward compatibility.
61
61
62
-
It can also work with double quotes.
62
+
### Supported Ruby Tag Formats
63
63
64
-
`<ruby="ice">fire</ruby>` tag or `<r="ice">fire</r>` tag.
64
+
1.**Legacy Ruby Tag Styles**:
65
+
These styles have been supported since earlier versions and are fully compatible.
66
+
-`<ruby=ice>fire</ruby>`: Annotates "fire" with "ice".
67
+
-`<r=ice>fire</r>`: Equivalent to the above.
68
+
- These tags also support double quotes:
69
+
-`<ruby="ice">fire</ruby>`
70
+
-`<r="ice">fire</r>`
71
+
72
+
2.**Standard Ruby Tag Styles (from v1.3.0)**:
73
+
Starting from **v1.3.0**, the standard ruby tag format is supported. This enables additional features, such as the ability to use rich text formatting within ruby annotations.
74
+
-`<ruby>fire<rt>ice</rt></ruby>`: Annotates "fire" with "ice".
75
+
-`<r>fire<rt>ice</rt></r>`: Equivalent to the standard style.
76
+
-`<r>fire<rt><color="blue">ice</color></rt></r>`: Enables rich text formatting (e.g., coloring "ice" in blue).
> -**Rich Text Support**: The standard ruby tag style (`<ruby><rt>`) allows for advanced formatting such as color, bold, or italic within the ruby annotations.
94
+
> -**Backward Compatibility**: Legacy styles such as `<ruby="ice">` and `<r="ice">` are fully supported alongside the new standard ruby tag style.
95
+
> -**Standard Syntax Recommendation**: It is recommended to use the standard ruby tag style (`<ruby><rt>`) for new projects to take full advantage of the rich text features.
65
96
66
97
# How To Use
67
98
@@ -75,7 +106,7 @@ In this case, the dependency information for TextMeshPro 3.0.6 is retained, so i
75
106
76
107
Unity > Window > PackageManager > + > Add package from git url... > Add the following
0 commit comments