creampuff1
Member
- Joined
- Aug 22, 2023
- Messages
- 6
- Programming Experience
- Beginner
sorry if its a stupid question or if I phrased it wrong im still very new.
Unity is saying,
"The left-hand side of an assignment must be a variable, property or indexer"
However I cant figure out how to make into one of those
The part thats causing the error is,
Does anyone know how I can rewrite this so it works?
Unity is saying,
"The left-hand side of an assignment must be a variable, property or indexer"
However I cant figure out how to make into one of those
The part thats causing the error is,
C#:
if (Input.GetKeyDown(KeyCode.LeftShift) && Sprinting = false)
{
Debug.Log("Sprinting True");
Sprinting = true;
MoveSpeed = 250;
}
Last edited by a moderator: