public void HideGUI() { IEnumerator enumerator = base.transform.GetEnumerator(); try { while (enumerator.MoveNext()) { object obj = enumerator.Current; Transform transform = (Transform)obj; IEnumerator enumerator2 = transform.GetEnumerator(); try { while (enumerator2.MoveNext()) { object obj2 = enumerator2.Current; Transform transform2 = (Transform)obj2; GUICollider component = transform2.gameObject.GetComponent <GUICollider>(); if (null != component) { component.HideGUI(); } } } finally { IDisposable disposable; if ((disposable = (enumerator2 as IDisposable)) != null) { disposable.Dispose(); } } } } finally { IDisposable disposable2; if ((disposable2 = (enumerator as IDisposable)) != null) { disposable2.Dispose(); } } if (base.gameObject.activeSelf) { Transform transform3 = base.transform; Vector3 localPosition = transform3.localPosition; localPosition.x = 10000f; transform3.localPosition = localPosition; } }