I know this looks damn silly. I’m new to Unity3D and programming. So, please help.
I need my player to move 1 unit right/left based on the Keyboard arrow I pressed.
Following script throws error saying “Cannot modify a value type return value of …”
And, some times it throws an error but, no error shows up. I think I’m doing something terribly wrong.