Ejemplo n.º 1
0
 void OnMouseDown()
 {
     selectionScript.ThatWasASelectionClick();
     if (Input.GetKey(KeyCode.LeftControl))
     {
         selected = true;
     }
     else
     {
         selectionScript.UnselectAll();
         selected = true;
     }
 }