Closed bladecoder closed 8 years ago
Hiding it using a button is already an option. Just use the setKeyID() function. This key will hide and show the console. I'll give you that the name isn't very descriptive and I agree that a basic setHidden() function would be useful. I'll add that soon.
Updated in 770fd7947adc968c9942138a28ef1e33d618b9d9 Should be deploying this to Maven within 24 hours
Guys, dont name it like that. Go with setVisible().
19.09.2016 05:51 "Jan Risse" notifications@github.com napisał(a):
Updated in 770fd79 https://github.com/StrongJoshua/libgdx-inGameConsole/commit/770fd7947adc968c9942138a28ef1e33d618b9d9 Should be deploying this to Maven within 24 hours
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/StrongJoshua/libgdx-inGameConsole/issues/21#issuecomment-247907258, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB5UqXVn14kMD8gC9oQrV3D3U18xZ7xks5qrgbLgaJpZM4J84hC .
@StrongJoshua with a button I meant that I would like to show/hide with an UI button, not a keyboard key.
@Namek Console.setVisible(boolean value)
to show/hide the console is perfect.
@Namek Haha I don't know why I didn't think about that. I didn't actually have time to deploy yesterday so that is still easily changed. I'll get on that.
Added in version 0.5.2
I would like to show/hide the console from a button or programatically when certain errors happen. It would be useful to have the method
Console.setHidden(boolean value)
to allow this.