If ( Input.GetKeyDown(KeyCode.d) )
{
}
Why isn’t this working? I just get heaps of errors in the console. I’m following a tutorial on Youtube and I have quite a lot of coding experience, just not in C#. Help please!
If ( Input.GetKeyDown(KeyCode.d) )
{
}
Why isn’t this working? I just get heaps of errors in the console. I’m following a tutorial on Youtube and I have quite a lot of coding experience, just not in C#. Help please!
Should be KeyCode.D
, not KeyCode.d
.
Case-sensitive.
d should be uppercase
THANKS!