void OnGUI() { if (graph) { EditorGUI.DrawTextureTransparent(new Rect(Vector2.zero, this.position.size), graph.GetComponent <Camera>().targetTexture); } }