public void End() { if (this.drawGUI) { return; } GUILayout.EndArea(); GUIHelper.EndIgnoreInput(); }
public void End() { if (Event.current.type == EventType.Repaint) { RenderTexture.active = this.prev; } GUILayout.EndArea(); GUIHelper.EndIgnoreInput(); }
/// <summary> /// Not yet documented. /// </summary> public void End() { if (this.drawGUI) { return; } if (Event.current.type == EventType.Repaint) { RenderTexture.active = this.prevActiveRenderTexture; } GUILayout.EndArea(); if (this.ignoreInput) { GUIHelper.EndIgnoreInput(); } }