public override void SetAttachment(WeaponPartsStruct attachments)
 {
     if (null != _fireLogic)
     {
         _fireLogic.SetAttachment(attachments);
     }
     _attachmentManager.ApplyAttachment(this);
 }
Esempio n. 2
0
 public void SetAttachment(WeaponPartsStruct attachments)
 {
     _attachmentManager.Prepare(attachments);
     _attachmentManager.ApplyAttachment(_kickbackLogic);
     _attachmentManager.ApplyAttachment(_spreadLogic);
     _attachmentManager.ApplyAttachment(_accuracyLogic);
     _attachmentManager.ApplyAttachment(_bulletLogic);
     _attachmentManager.ApplyAttachment(_soundLogic);
     _attachmentManager.ApplyAttachment(_weaponEffectLogic);
     _attachmentManager.ApplyAttachment(_bulletFactory);
     _attachmentManager.ApplyAttachment(this);
 }
 public void SetAttachments(WeaponPartsStruct attachments)
 {
     _attachmentManager.ApplyAttachment(this);
 }
 public void SetAttachment(WeaponPartsStruct attachments)
 {
     _attachmentManager.Prepare(attachments);
     _attachmentManager.ApplyAttachment(_soundLogic);
     _attachmentManager.ApplyAttachment(_weaponEffectLogic);
 }