/// <summary> /// Invalidate the panel's clipping, calling child panels in turn. /// </summary> void InvalidateClipping () { mResized = true; mMatrixFrame = -1; mCullTime = (mCullTime == 0f) ? 0.001f : RealTime.time + 0.15f; for (int i = 0, imax = list.Count; i < imax; ++i) { UIPanel p = list[i]; if (p != this && p.parentPanel == this) p.InvalidateClipping(); } }
private void InvalidateClipping() { mResized = true; mMatrixFrame = -1; mCullTime = ((mCullTime != 0f) ? (RealTime.time + 0.15f) : 0.001f); int i = 0; for (int count = list.Count; i < count; i++) { UIPanel uIPanel = list[i]; if (uIPanel != this && uIPanel.parentPanel == this) { uIPanel.InvalidateClipping(); } } }
private void InvalidateClipping() { this.mResized = true; this.mMatrixFrame = -1; Int32 i = 0; Int32 count = UIPanel.list.Count; while (i < count) { UIPanel uipanel = UIPanel.list[i]; if (uipanel != this && uipanel.parentPanel == this) { uipanel.InvalidateClipping(); } i++; } }
private void InvalidateClipping() { this.mResized = true; this.mMatrixFrame = -1; this.mCullTime = ((this.mCullTime != 0f) ? (RealTime.time + 0.15f) : 0.001f); int i = 0; int count = UIPanel.list.Count; while (i < count) { UIPanel uIPanel = UIPanel.list[i]; if (uIPanel != this && uIPanel.parentPanel == this) { uIPanel.InvalidateClipping(); } i++; } }