TradeConfiguration
A class in Root.Township, Alta.Trading.
Holds references to a trade vendor's price buttons. In this build it does nothing with them.
- Listed in Crafting and making
- Inherits or implements
NetworkEntityBehaviour
Constructors
| Member | What it is |
|---|---|
TradeConfiguration() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
5 private and internal fields
| Member | What it is |
|---|---|
private PhysicalButton coinDown | Button to lower the coin amount. |
private PhysicalButton coinUp | Button to raise the coin amount. |
private PhysicalButton itemDown | Button to lower the item amount. |
private PhysicalButton itemUp | Button to raise the item amount. |
private TradeVendor vendor | The vendor these buttons belong to. |
Methods
| Member | What it is |
|---|---|
override void Initialize() | Finds the TradeVendor on the same object. |
override void InitializeAsServer(SpawnData spawnData) | Only calls the base method. |