Struct TMP_TextProcessingStack<T>
Structure used to track XML tags of various types.
Inherited Members
Namespace: TMPro
Assembly: solution.dll
Syntax
public struct TMP_TextProcessingStack<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Description |
---|---|
TMP_Text |
Constructor for a new item stack with the given capacity. |
TMP_Text |
|
TMP_Text |
Constructor to create a new item stack. |
Fields
Properties
Name | Description |
---|---|
Count | |
current | Returns the current item on the stack. |
rollover |
Methods
Name | Description |
---|---|
Add(T) | Function to add a new item to the stack. |
Clear() | Function to clear and reset stack to first item. |
Current |
|
Peek() | |
Pop() | |
Previous |
Function to retrieve the previous item without affecting the stack. |
Push(T) | |
Remove() | Function to retrieve an item from the stack. |
Set |
Function to set the first item on the stack and reset index. |