var GameObject :Transform; function Update () { if (Input.GetButtonDown("Fire1")) { transform.Rotate (Vector3.right * Time.DeltaTime); } }