GUI clean last frame

Hi guys!!

I’m having a problem with GUI, when I disable an object and instansiate other (with his own gui) this show me in the background the gui of the first object…the gui in the background is disable, It looks like the last frame of the gui that can not be cleaned. What can i do?

Apparently the GUI-System works like a state machine. So if I want to disable a button/textfield

I simply do:

1.) GUI.enabled = false;

2.) GUI.TextField(…);

3.) GUI.enabled = true;