- Home /
Question by
G_Sacristan · Aug 17, 2011 at 12:28 PM ·
keyname
access Input.GetButton key name
Hi!
I am again wondering how to access Input.GetButtons key name(string!)
For an example:
private var str: String="Press "+Input.GetButton("Action").key.name+" to start!";
It should return: Press Space to start!
I just want to make sure that it automaticaly correct if user changes controls...
Have anyone made smthing like this one?
Thanks in advance!
Comment