public void DeselectEntities() { if (selectedEntities.Count <= 0) { return; } int amountToDeselect = selectedEntities.Count; for (int i = 0; i < amountToDeselect; i++) { DeselectEntity(selectedEntities[0]); } currentActiveMode?.DeselectedEntities(); Cursor.SetCursor(null, Vector2.zero, CursorMode.Auto); }