0
I am stuck so hard please help in C# Unity 3D Software
I am creating a game by following a video and leared all basic C#. But I am stuck in a error message that says. warning CS0414: The private field 'Player.anim' is assigned but its value is never used. I will share my code in personal if anyone knows about Unity 3d please help.
7 odpowiedzi
+ 3
sounds like you should go to edit->project settings->input
regardless, i recommend googling the error
+ 1
problem fixed
0
that's not an error, it's a warning.
if your program won't run, something else is stopping it.
0
yes right its not error its warning i wrote there wrong but how to fix this. my program runs but the keboard buttons I assigned not working and the compile keeps on spamming a error in red line.
0
Robin then i suggest giving us the error message the compiler spams. (i probably can't help, but in case someone can you should have it out there)
0
ok here this is.ArgumentException: Input Axis Hoizontal is not setup.
To change the input settings use: Edit -> Project Settings -> Input
Player.PlayerMoveKeyboard () (at Assets/Scripts/Player Scripts/Player.cs:33)
Player.FixedUpdate () (at Assets/Scripts/Player Scripts/Player.cs:24)
0
Thanks for telling me about this option I just never see it but now I get this option opened it but everything seems to be okay there in the option. I have posted help on Unitys forum too. thanks again.