Hi,
I made a game with Keyboard controls, now I wanted to add a GUI, since I heared that GUI made in Unity uses a lot of performance I wanted to build my own UI by adding boxes which can be clicked.
My question is now when i have a block which should be clickable and then perform a certain task how can i do this ?
I guess the function would be OnMouseDown but how do I link OnMouseDown to a specific Keyboard Key ?