'Set' is not a member of 'UnityEngine.Animator'.

hello i have this problem in this script

#pragma strict
private var animator: Animator;

var h: float; // Obrót

var v: float; // Przód/tył

var hSpeed: int;

function Start () {

         animator = GetComponent(Animator);
}

function Update () {

h = Input.GetAxis('Horizontal');
 
    v = Input.GetAxis('Vertical');
 
if(Input.GetButton('Jump'))
 
                    animator.SetBool('Jump',true);
 
               else 
 
                    animator.SetBool('Jump',false);
 
    if(Input.GetButton('Run'))
 
                    animator.SetButton('Run',true);
 
               else
 
                    Animator.Set.Bool('Bieg',false);    
}

function FixedUpdate () {

var h : float = Input.GetAxis("Mouse X");

transform.Rotate(0, h, 0);

animator.SetFloat ("Speed", v);

animator.SetFloat ("Direction", h);

}

    if(Input.GetKeyDown(KeyCode.Tab)){
 
                Screen.showCursor = false;
 
            }
 
            else     
 
            {
 
                Screen.showCursor = true;
 
            }

Really be a little careful and that will save you some time…

                Animator.Set.Bool('Bieg',false);    

This is all wrong and the compiler is telling you so.

                 animator.SetBool('Bieg',false);