Esempio n. 1
0
 // 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;
 }
Esempio n. 2
0
    // 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];
    }