public void OnDraw() { if (visible) { bounds = GUI.Window(id, bounds, OnWindowInternal, "", GUI.skin.label); } else { if (tooltip != null) { tooltip.SetVisible(false); } } }