public override void onSelect(string obj, string y) { GuiEditorGui.GuiEditor GuiEditor = "GuiEditor"; GuiEditorInspectFields GuiEditorInspectFields = "GuiEditorInspectFields"; if (obj.isObject()) { GuiEditor.dontSyncTreeViewSelection = true; GuiEditor.select(obj); GuiEditor.dontSyncTreeViewSelection = false; GuiEditorInspectFields.update(obj); } }