#```cs
1 messages · Page 1 of 1 (latest)
okay madam
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NewBehaviourScript : MonoBehaviour
{
int moveDir;
void Update() {
moveDir = (Int)Input.GetAxisRaw("Horizontal");
Debug.Log(moveDir);
}
}
Here is the corrected script
And that's it
should i just copy paste it?
Yup
okay thank you so much ma'am 🙏