Exemple #1
0
    void EnterTiredState()
    {
        currentState = CustomerStates.Tired;
        Debug.Log("Entering tired state.");
        // Get concessions service from Arcade
        TargetConcession = arcade.GetConcessions(Fatigue);

        if (customerAI && TargetConcession)
        {
            customerAI.SetDestination(TargetConcession.ServicePosition());
            StartCoroutine("Tired_Update");
        }
    }