private static string GetViewName(GUIView view) { EditorWindow editorWindow = GUIViewDebuggerWindow.GetEditorWindow(view); if (editorWindow != null) { return(editorWindow.titleContent.text); } return(view.GetType().Name); }
private static string GetViewName(GUIView view) { EditorWindow editorWindow = GUIViewDebuggerWindow.GetEditorWindow(view); string result; if (editorWindow != null) { result = editorWindow.titleContent.text; } else { result = view.GetType().Name; } return(result); }
private bool CanInspectView(GUIView view) { bool result; if (view == null) { result = false; } else { EditorWindow editorWindow = GUIViewDebuggerWindow.GetEditorWindow(view); result = (editorWindow == null || (!(editorWindow == this) && !(editorWindow == this.m_InstructionOverlayWindow))); } return(result); }
private bool CanInspectView(GUIView view) { bool result; if (view == null) { result = false; } else { EditorWindow editorWindow = GUIViewDebuggerWindow.GetEditorWindow(view); result = (editorWindow == null || !(editorWindow == this)); } return(result); }
private bool CanInspectView(GUIView view) { EditorWindow editorWindow = GUIViewDebuggerWindow.GetEditorWindow(view); return(editorWindow == null || (!(editorWindow == this) && !(editorWindow == this.m_InstructionOverlayWindow))); }
private bool CanInspectView(GUIView view) { EditorWindow editorWindow = GUIViewDebuggerWindow.GetEditorWindow(view); return((UnityEngine.Object)editorWindow == (UnityEngine.Object)null || !((UnityEngine.Object)editorWindow == (UnityEngine.Object) this) && !((UnityEngine.Object)editorWindow == (UnityEngine.Object) this.m_InstructionOverlayWindow)); }