예제 #1
0
파일: PersonCode.cs 프로젝트: Grencitrus/-
 // 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;
 }
예제 #2
0
파일: PersonCode.cs 프로젝트: SennahW/-
    // 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];
    }