Ejemplo n.º 1
0
 public void LoadBullet()
 {
     if (attachMagazine && attachMagazine.ammo > 0)
     {
         bulletInside = attachMagazine.GetBullet();
         bulletInside.transform.parent        = bulletInsidePoint;
         bulletInside.transform.localPosition = Vector3.zero;
         bulletInside.transform.localRotation = Quaternion.identity;
         armed = true;
     }
 }