Storage Currency Element UGUI

Scripting with the StorageCurrencyElementUGUI class.

The StorageCurrencyElementUGUI class is used to represent a currency in the uGUI window while also providing currency withdraw and deposit buttons.

Fields & Properties

Name
Description
Type
Access

icon

The image component that displays the currency icon.

Image

public

amountLabel

The TMP component that displays the currency amount.

TextMeshProUGUI

public

withdrawButton

The withdraw button.

Button

public

depositButton

The deposit button.

Button

public

withdrawIcon

The image component that displays the withdraw icon.

Image

public

depositIcon

The image component that displays the deposit icon.

Image

public

Last updated