Exemplo n.º 1
0
    private void FixOcclusions()
    {
        float nearDistance = CheckCameraPoints(target.transform.position, transform.position);

        if (nearDistance != -1)
        {
            camCtrl.SetDistance(nearDistance);
        }
    }