Class Currency
Currency information.
貨幣資訊。
Inherited Members
Namespace: Votanic.vXR.vGear.Inventory
Assembly: Votanic.vXR.dll
Syntax
[Serializable]
public class Currency : Element
Fields
conversions
Currency conversion setting.
貨幣轉換設定。
Declaration
[Tooltip("Currency conversion setting.\n貨幣轉換設定。")]
public List<CurrencyConversion> conversions
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<CurrencyConversion> |
decimals
Number of decimals.
小數點數目。
Declaration
[Tooltip("Number of decimals.\n小數點數目。")]
public byte decimals
Field Value
Type | Description |
---|---|
System.Byte |
description
Description of currency.
貨幣描述。
Declaration
[Tooltip("Description of currency.\n貨幣描述。")]
public string description
Field Value
Type | Description |
---|---|
System.String |
icon
Display icon.
顯示圖示。
Declaration
[Tooltip("Display icon.\n顯示圖示。")]
public Texture2D icon
Field Value
Type | Description |
---|---|
UnityEngine.Texture2D |
identifier
Identifier of currency.
貨幣識別碼。
Declaration
[Tooltip("Identifier of currency.\n貨幣識別碼。")]
public string identifier
Field Value
Type | Description |
---|---|
System.String |
maxValue
Maximum value of this currency.
這個貨幣的最大值。
Declaration
[Tooltip("Maximum value of this currency.\n這個貨幣的最大值。")]
public float maxValue
Field Value
Type | Description |
---|---|
System.Single |