Пример #1
0
 public void ResetSelection()
 {
     if (SelectedObjects != null && SelectedObjects.Count > 0)
     {
         USEditorUtility.RemoveFromUnitySelection(SelectedObjects);
         SelectedObjects.Clear();
         SourcePositions.Clear();
     }
 }
Пример #2
0
        public void ResetSelection()
        {
            if (SelectedObjects.Count > 0)
            {
                USUndoManager.PropertyChange(this, "Select None");

                USEditorUtility.RemoveFromUnitySelection(SelectedObjects);
                SelectedObjects.Clear();
                SourcePositions.Clear();
            }
        }