// Token: 0x060032E2 RID: 13026 RVA: 0x000FFEC0 File Offset: 0x000FE2C0 private static void Activate(Transform t, bool compatibilityMode) { NGUITools.SetActiveSelf(t.gameObject, true); if (compatibilityMode) { int i = 0; int childCount = t.childCount; while (i < childCount) { Transform child = t.GetChild(i); if (child.gameObject.activeSelf) { return; } i++; } int j = 0; int childCount2 = t.childCount; while (j < childCount2) { Transform child2 = t.GetChild(j); NGUITools.Activate(child2, true); j++; } } }
// Token: 0x060032E7 RID: 13031 RVA: 0x000FFFDC File Offset: 0x000FE3DC public static void SetActiveChildren(GameObject go, bool state) { Transform transform = go.transform; if (state) { int i = 0; int childCount = transform.childCount; while (i < childCount) { Transform child = transform.GetChild(i); NGUITools.Activate(child); i++; } } else { int j = 0; int childCount2 = transform.childCount; while (j < childCount2) { Transform child2 = transform.GetChild(j); NGUITools.Deactivate(child2); j++; } } }
public static void SetActive(GameObject go, bool state) { if (!state) { NGUITools.Deactivate(go.transform); } else { NGUITools.Activate(go.transform); } }
// Token: 0x060032E5 RID: 13029 RVA: 0x000FFF55 File Offset: 0x000FE355 public static void SetActive(GameObject go, bool state, bool compatibilityMode) { if (go) { if (state) { NGUITools.Activate(go.transform, compatibilityMode); NGUITools.CallCreatePanel(go.transform); } else { NGUITools.Deactivate(go.transform); } } }
// Token: 0x060032E1 RID: 13025 RVA: 0x000FFEB7 File Offset: 0x000FE2B7 private static void Activate(Transform t) { NGUITools.Activate(t, false); }