示例#1
0
 public void changecontrol(unit obj)
 {
     if (obj.control == false)
     {
         CHARGE(obj.gameObject);
         return;
     }
     obj.supcibleu();
     if (!(Input.GetKey(KeyCode.LeftControl)))
     {
         currentunit.Clear();
     }
     currentunit.Add(obj);
     obj.sayok();
     passframe = 1;
 }