top of page
Transaction Handler
The Transaction Handler is responsible for loading and representing the player inventory and a single AI inventory on screen in UI form and executing trades via its UI interface. This uses the ItemUI prefab and copies the data from each inventories items and displays them on screen according to the vertical and horizontal item spacing variables.
Variables
All variables are public to give easy access to the variables in the Unity Editor. Assign player to the player gameobject and cp to the AI inventory that is to be traded with.
bottom of page