-
Notifications
You must be signed in to change notification settings - Fork 0
Demand
The OrderUIManager script is used to create show and create demand for the user. This script handles both the UI and generations of orders.
This coroutine is used to generate random orders. The generation of orders is set beforehand using the Stage Controller in the level design. This loop will call the BuildRandomOrder() function which will generate a random order using what was set with the SetAutoGenerateStats() function.
This function is called to generate the list for the user to see the orders in the UI. It goes through each of the current orders and calls AddOrderRow() for each of them.
##Attempt Complete Order
When the user clicks the button on the UI to try to complete one of the orders and sell the bottle packages it calls this function for that order. It then checks if the user has created enough bottles. If so, it will remove that number of stored bottles, determine if it was sold on time, and then use the PointsTracker script to add money to the user based on the bottles that they sold. It will also call the Data Collector object to track the attempt at selling the order and whether it was successful or not.
##IncreaseXPackHeld
These functions are called by the robot arms to increase the number of stored packages that are available to be held.
- Current Branch Descriptions
- Version 1 Game Flow Overview
- Version 2 Game Flow Overview
- Localization and Start Screen Canvas Organization
- Overview of Scripts and Connections
- Machine Scripts
- Order Releases
- Demand
- Stage Controller
- Data Collection
- Video Recording
- Money Tracking
- Quest Systems for Levels and Tutorials
- Object Pooling
- Time Controller
- Forklift Scripts
- OpenAI Assistant Integration
- Ray Casting
- Camera Script
- General Purpose Object Collision