Please help
using UnityEngine;
using System.Collections;
public class NewBehaviourScript : MonoBehaviour {
public float MoveSpeed;
private Vector3 input;
// Use this for initialization
void Start () {
}
void Update () {
input = new Vector3(input.GetAxis ("Horizantal"), 0, input.GetAxis ("Vertical"));
print (input);
}
}
Answers?
↧
Can someone please tell me whats wrong with this?, because when i put it says error in the GetAxis
↧