public void DeleteSelectedMolecule() { if (selectedMol != null) { selectedMol.Dehighlight(); selectedMol.Destroy(); } }
public void DeleteSelectedMolecule() { if (_lastSelectedMol != null) { uIController.TurnOffToggles(); _lastSelectedMol.Dehighlight(); _lastSelectedMol.Destroy(); } }