Currency Element UGUI

Scripting with the CurrencyElementUGUI class.

The CurrencyElementUGUI class is used to display a currency's amount and icon.

Fields & Properties

Name
Description
Type
Access

rectTransform

The RectTransform.

RectTransform

public

icon

The image component that displays the currency icon.

Image

public

amountLabel

The TMP component that displays the currency amount.

TextMeshProUGUI

public

Last updated