void DestroyGUI() { if (guiExampleControl != null) { guiExampleControl.SetShouldDetach(); guiExampleControl = null; } }