Class Price
Represents the set of items that need to be paid with for a transaction.
Namespace: UnityEngine.GameFoundation
Assembly: solution.dll
Syntax
public class Price
Constructors
Name | Description |
---|---|
Price(List<InputItem>, string) | Constructor for defining a price with multiple items of input. |
Price(InputItem, string) | Constructor for defining a price with only a single input item. Many prices will be simple like this so this constructor avoids the need of passing a whole list. |
Price(Price) | Copy constructor for setting up a new Price based off on a existing one. |
Properties
Name | Description |
---|---|
name | Identification for this price point |
Methods
Name | Description |
---|---|
GetInputItems() | Array of InputItems to be paid out. |