- Home /
Question by
DiamondMC102 · Aug 14, 2017 at 09:25 AM ·
button2d game2d-platformer
Quick Question.
How do I make my own Input Button for the G key?
Comment
Answer by unidad2pete · Aug 14, 2017 at 09:30 AM
void Update ()
{
if(Input.GetKeyDown(KeyCode.G))
{
Debug.Log(" G KEY PRESSED");
}
}
Answer by DiamondMC102 · Aug 14, 2017 at 03:15 PM
What I'm asking is how do I make my own Input Button for the G key? By using Edit>Project Settings>Input
Your answer