Пример #1
0
    public float GetWalkingDistanceFrom(Vector2 position)
    {
        PotentialField potentialField = NavigationHandler.Instance.GetPotentialField(this);

        return(potentialField.GetDistanceFrom(position));
    }