Thundr
Thundr
CC#
Created by Thundr on 11/1/2023 in #help
❔ im extremely new to c#/unity, i can't find the issue with this code
if (Keyboard.IsKeyDown(Key.S))
{
transform.Translate(Vector.3.back * Time.deltaTime * Input.GetAxis("Horizontal") * moveSpeed);
}
if (Keyboard.IsKeyDown(Key.S))
{
transform.Translate(Vector.3.back * Time.deltaTime * Input.GetAxis("Horizontal") * moveSpeed);
}
the transform.Translate line has the syntax error, ',' expected error, and i cant find the issue
64 replies