示例#1
0
    public void Tick()
    {
        if (playAnimation)
        {
            OrientToStand();
        }

        if (findOrderTimer >= 0)
        {
            findOrderTimer -= Time.deltaTime;
            if (findOrderTimer <= 0)
            {
                Debug.Log("Generating order");
                pedestrian.GenerateCustomerOrder();

                return;
            }
            return;
        }
    }