Exemplo n.º 1
0
    protected override void FindWater()
    {
        _ram.FindWater();
        _ram.ramAnimationState = Ram.RAM_ANIMATIONSTATE.ARM_RAM_WALK;

        if (_ram._navMeshAgent.remainingDistance <= 0f)
        {
            _ram.ChangeState(new RamDrinkState());
        }
    }