Hello,
i made this script but every time i get a error:
Input axis horzontal is not setup.
this is my code:
using UnityEngine;
using System.Collections;
public class PlayerMovment : MonoBehaviour {
public float movespeed;
private Vector3 input;
// Use this for initialization
void Start () {
}
void Update () {
input = new Vector3(Input.GetAxis (“horizontal”) , 0, Input.GetAxis (“Vertical”));
print (input);
}
}
its for a playermovment