void CreateCustomer() { SFX.Create(_customerEntering, _doorEntrance.position); Customer _customer = ((GameObject)Instantiate(_prefab, _doorEntrance.position, _doorEntrance.rotation)).GetComponent <Customer>(); _customer.AssignSpot(PickSpot()); string _dishName = _customer.DecideOnFood(); UIManager.MakeUIOrder(_customer, _dishName); }