void AssignToCustomer(int customerNum = 1) { int randomCombinationCount = Random.Range(2, 4); for (int i = 0; i < randomCombinationCount; i++) { string curVeg = GetRandomItem(); if (customerNum == 1) { customer_1.Add(curVeg); uiManager.AddItemInCustomer(1, curVeg); } if (customerNum == 2) { customer_2.Add(curVeg); uiManager.AddItemInCustomer(2, curVeg); } if (customerNum == 3) { customer_3.Add(curVeg); uiManager.AddItemInCustomer(3, curVeg); } } }