TMP Action Plus
The TMP Action component can be added to a TextMeshPro UI object to text along with multiple action icons.
#
Component FieldsName | 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#
DeclarationExample
public void SetFormatText(string value)
#
ParametersName | Description |
---|---|
value | New formatted text to assign |
#
DescriptionUpdates the Format Text on the component and refreshes the UI.