Exemplo n.º 1
0
    IEnumerator LeaveKitchen()
    {
        yield return(new WaitForSeconds(timeBeforeLeave));

        actualState = StateDeliveryMan.Leaving;
        endParticleSystem.Emit(50);
        //NavMeshAgent agent = GetComponent<NavMeshAgent>();
        //agent.destination = ExitPos.position;
    }
Exemplo n.º 2
0
    public void ValidateList()
    {
        SearchErrorDelivery();
        GameManager.Instance.Audio.PlaySound("ConveyorBelt", AudioManager.Canal.SoundEffect);

        deliveryInstantiation.FillList();
        StopInteraction();
        actualState = StateDeliveryMan.Changing;
    }