Hello, I am trying to create a game where a customer orders a food item and the player makes that time.
Currently I made an ordermanager
script that holds the item in the inspector, no code in it. Then I have a customer script which has code in for it to move and order. What I am trying to do is have the customer order random food items from the FoodArray
List
which is in the OrderManager
script and not Customer Manager Script
.
How do i go about order a random food item from a different class?
// paste code here
// paste code here