|
EasyTalk API
|
A class used to store TextMeshPro tag information. More...
Public Member Functions | |
| TMPTag (string name, string text, bool isCloseTag, int startIdx, int endIdx) | |
| Creates a new TMPTag object with the specified values. | |
Static Public Member Functions | |
| static List< TMPTag > | FindTags (string text) |
| Searches for TextMeshPro/HTML markup tags in the provided string and creates TMPTag objects for those which are found. | |
| static string | RemoveTags (string text) |
| Removes all TextMeshPro/HTML markup tags from the specified string. | |
Public Attributes | |
| string | name |
| The name/type of the TextMeshPro tag. | |
| string | fullTagText |
| The full text of the tag. | |
| bool | isCloseTag = false |
| Whether the tag is a closing tag. | |
| int | startIdx |
| The index within the original string where this tag starts or started. | |
| int | endIdx |
| The index within the original string where this tag ends or ended. | |
A class used to store TextMeshPro tag information.
| EasyTalk.Nodes.Tags.TMPTag.TMPTag | ( | string | name, |
| string | text, | ||
| bool | isCloseTag, | ||
| int | startIdx, | ||
| int | endIdx ) |
Creates a new TMPTag object with the specified values.
| name | The name/type of the tag. |
| text | The full text of the tag. |
| isCloseTag | Whether the tag is a closing tag. |
| startIdx | The starting index of this tag in the original string it is/was in. |
| endIdx | The ending index of this tag in the original string it is/was in. |
|
static |
Searches for TextMeshPro/HTML markup tags in the provided string and creates TMPTag objects for those which are found.
| text | The string to find tags in. |
|
static |
Removes all TextMeshPro/HTML markup tags from the specified string.
| text | The string to remove tags from. |
| int EasyTalk.Nodes.Tags.TMPTag.endIdx |
The index within the original string where this tag ends or ended.
| string EasyTalk.Nodes.Tags.TMPTag.fullTagText |
The full text of the tag.
| bool EasyTalk.Nodes.Tags.TMPTag.isCloseTag = false |
Whether the tag is a closing tag.
| string EasyTalk.Nodes.Tags.TMPTag.name |
The name/type of the TextMeshPro tag.
| int EasyTalk.Nodes.Tags.TMPTag.startIdx |
The index within the original string where this tag starts or started.