Exemplo n.º 1
0
 public static void select(DevkitSelection select)
 {
     if (Input.GetKey(304) || Input.GetKey(306))
     {
         if (DevkitSelectionManager.selection.Contains(select))
         {
             DevkitSelectionManager.remove(select);
         }
         else
         {
             DevkitSelectionManager.add(select);
         }
     }
     else
     {
         DevkitSelectionManager.clear();
         DevkitSelectionManager.add(select);
     }
 }
 // Token: 0x06000973 RID: 2419 RVA: 0x0004F500 File Offset: 0x0004D900
 public static void select(DevkitSelection select)
 {
     if (Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.LeftControl))
     {
         if (DevkitSelectionManager.selection.Contains(select))
         {
             DevkitSelectionManager.remove(select);
         }
         else
         {
             DevkitSelectionManager.add(select);
         }
     }
     else
     {
         DevkitSelectionManager.clear();
         DevkitSelectionManager.add(select);
     }
 }