public bool SelectEntity(DCLBuilderInWorldEntity entityEditable) { if (entityEditable.IsLocked) { return(false); } if (entityEditable.IsSelected) { return(false); } entityEditable.Select(); selectedEntities.Add(entityEditable); currentActiveMode?.SelectedEntity(entityEditable); if (HUDController.i.builderInWorldMainHud != null) { hudController.UpdateEntitiesSelection(selectedEntities.Count); hudController.ShowEntityInformation(); hudController.EntityInformationSetEntity(entityEditable, sceneToEdit); } outlinerController.CancelAllOutlines(); OnEntitySelected?.Invoke(); return(true); }