![]() |
Hiding all gui controls
Is there a way to hide every gui control at once?
I am making a replica of the offline tile editor and want it to go into a similar mode when the player presses F4 so i will need to hide all of them o_O |
something like
PHP Code:
|
Lol I guess I can do GraalControl.hide() but was hoping for a better method ^_^
|
Quote:
|
Ah yes I see what you meant now makes more sense :P ty
|
Just so you know, GUIContainer is the top-level control, not GraalControl. You probably don't want to hide stuff outside of GraalControl though.
|
GraalControl.hide() would be more efficient and most likely better.
|
Quote:
Problem would be if you go back to show everything, then things which where hidden appear. I guess you could have an array ... but ehh ... easier to use GraalControl.hide(); |
Quote:
|
Quote:
|
Quote:
I've made many GUIs outside of GraalControl for editors and such and I know that GraalControl.hide() is most likely your best bet. |
Quote:
|
PHP Code:
|
Quote:
You can just do something like this: PHP Code:
PHP Code:
|
Quote:
PHP Code:
|
Thanks you two.
|
| All times are GMT +2. The time now is 10:23 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.