Esempio n. 1
0
 public void LostPart(Limb.PartType pt)
 {
     DropPart(pt);
     if (bodyParts[Limb.PartType.LeftLeg] == null && bodyParts[Limb.PartType.RightArm] == null)
     {
         StartCoroutine("DropDeadAnimation");
     }
 }
Esempio n. 2
0
 public void DropPart(Limb.PartType pt)
 {
     if (bodyParts.ContainsKey(pt) && bodyParts[pt] != null)
     {
         Limb droppingPart = bodyParts[pt];
         bodyParts[pt] = null;
         droppingPart.Toss();
     }
 }
Esempio n. 3
0
 public Transform GetMountPoint(Limb.PartType t)
 {
     return(partMountPoint[t]);
 }