Exemple #1
0
    float CalculateY()
    {
        float radius = MaxDistanceGoalObjects() + magicOffset;
        float y      = CameraUtility.CalculateOptimalDistance(GetComponent <Camera>(), radius * magicMultiplier);

        return(y);
    }