// Start is called before the first frame update void Start() { OrderDone = false; myTargetPos = FindCostumerSpot.FindSpot(); SeatTaken = FindCostumerSpot.Spot; Pos = myPosition.transform.position; FoodPos = myFoodPosition.transform.position; }
// Start is called before the first frame update void Start() { myOrder = FindOrder.FoodOrder(); OrderFinished = false; myTargetPos = FindCostumerSpot.FindSpot(); SeatTaken = FindCostumerSpot.Spot; Pos = transform.position; int tempCos = Random.Range(0, costumers.Length); GetComponent <Image>().sprite = costumers[tempCos]; }