Example #1
0
 void JustAddControl(ShipPart part, int slotId)
 {
     if (part != null)
     {
         part.VOICE.ForceSay(part.VOICE.assign);
         part.DisablePhysics();
         partFixtures[slotId].part = part;
         assignAlienSFX.Play();
         part.ShowBubble();
     }
     else
     {
         assignEmptySFX.Play();
     }
 }