public override void onClearSelection() { EditorGui EditorGui = "EditorGui"; Inspector Inspector = "Inspector"; EditorTree EditorTree = "EditorTree"; EditorGui.EditorGuiStatusBar EditorGuiStatusBar = "EditorGuiStatusBar"; ETransformSelection ETransformSelection = "ETransformSelection"; EditorGui.currentEditor.onSelectionCleared(); EditorTree.clearSelection(); // Inform the camera console.commandToServer("EditorOrbitCameraSelectChange", new string[] { getSelectionSize().AsString(), getSelectionCentroid().AsString() }); EditorGuiStatusBar.setSelectionObjectsByCount(getSelectionSize().AsString()); // Update the Transform Selection window ETransformSelection.onSelectionChanged(); }