Try moving the IF statement to void update thus it'll repeatedly checkto see if "c" is being pressed, and then call onGUI. BTW im pretty sure its onGUI not OnGUI. Try that.
↧