Exemplo n.º 1
0
 private void MakeZombie()
 {
     if (null != localController)
     {
         localController.CancelCannon();
     }
     if (null != localController)
     {
         localController.CancelTrain();
     }
     int[] usables = new int[1];
     if (null != me)
     {
         EquipCoordinator component = me.GetComponent <EquipCoordinator>();
         if (null != component)
         {
             component.ResetWeaponOnly(usables);
         }
         if (null != localController)
         {
             localController.Infect();
         }
     }
 }