How can i fix this error?
This error shows up when i want to test play my game.
This is my game please improve it in the reaction.
using UnityEngine;
using System.Collections;
public class IdleWalk : MonoBehaviour
{
Animator animator;
public float DirectionDampTime = 0.25;
void Start ()
{
animator = Getcomponent<Animator> ();
}
void Update ()
{
float h = Input.GetAxis (Horiszontal);
float v = Input.GetAxis (Vertical);
animator.SetFloat (Speed, h*h + v*v);
animator.SetFloat (Direction, h, DirectionDampTime, Time.deltaTime);
}
}