C
C#4w ago
Cube

✅ Why is it not working

Im a beginnier at coding in C#. I tried making player move and i added those inputs but only W works and the rest doesnt i deleted the W input to check if it does something and it didnt yet player was still moving when i pressed W. Can i fix it somehow?
No description
10 Replies
Cube
CubeOP4w ago
move speed is set to 1
Mango
Mango4w ago
i deleted the W input to check if it does something and it didnt yet player was still moving when i pressed W.
Is this the only area of code you have where there is inputs? You may be running an old build
Cube
CubeOP4w ago
Yes thats the only area
Mango
Mango4w ago
Have you tried restarting the editor? Ensure that you have your latest scene selected as well
Cube
CubeOP4w ago
Ok i will try
Mango
Mango4w ago
If you delete W and W still works that appears you are running an old version of your game
Cube
CubeOP4w ago
Oh
Mango
Mango4w ago
Things like that can be user error based on settings, or sometimes it just happens. Restart the editor is the first step in troubleshooting it for me Feel free to @ me in Discord if restarting the editor does not fix it @Cube Are ya all good?
Cube
CubeOP4w ago
Yes it worked its just my first unity project and i didnt know it worked like that And sorry for not telling you that earlier
Mango
Mango4w ago
All good no problem Sometimes things bug out

Did you find this page helpful?