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.

11th Jun 2018, 7:20 PM
Robin
Robin - avatar
7 odpowiedzi
+ 3
sounds like you should go to edit->project settings->input regardless, i recommend googling the error
11th Jun 2018, 7:44 PM
hinanawi
hinanawi - avatar
+ 1
problem fixed
13th Jun 2018, 7:49 AM
Robin
Robin - avatar
0
that's not an error, it's a warning. if your program won't run, something else is stopping it.
11th Jun 2018, 7:25 PM
hinanawi
hinanawi - avatar
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.
11th Jun 2018, 7:28 PM
Robin
Robin - avatar
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)
11th Jun 2018, 7:29 PM
hinanawi
hinanawi - avatar
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)
11th Jun 2018, 7:43 PM
Robin
Robin - avatar
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.
11th Jun 2018, 7:51 PM
Robin
Robin - avatar