TMP Action Plus
The TMP Action component can be added to a TextMeshPro UI object to text along with multiple action icons.
![]()
Component Fields#
| Name | Description |
|---|---|
| Player Id | Id of the Player to get action for |
| Update Type | Update method used for this component |
| Format Text | Formatted text to display with action |
| Not Found Text | Formatted text to display if the action is not found |
| Sprite Tint | Allow the icon to be colored by TextMeshPro |
Note: {action:ActionName} is replaced in the 'Formatted Text' with icon associated with the action.
Public Methods#
Declaration#
Example
public void SetFormatText(string value)Parameters#
| Name | Description |
|---|---|
| value | New formatted text to assign |
Description#
Updates the Format Text on the component and refreshes the UI.