WeaponIdentification
Last updated
Last updated
This component identifies a weapon prefab. It enables the WeaponController to determine which weapon is currently unholstered and its corresponding Weapon_SO. This functionality is also highly beneficial for managing weapon attachments.
Weapon: This Weapon_SO must match the Weapon_SO that contains this WeaponIdentification.
FirePoint: Every weapon, excluding melee, must have a firePoint, which is the point where the bullet comes from. Make an empty object, call it firePoint for organization purposes and attach it here. Refer to for more information.
AimPoint: Transform that defines the aiming point. Generally placed on the Iron Sights / Scope.
defaultAttachments: Defines the default attachments for your weapon. The first time you pick it up, these attachments will be equipped.
compatibleAttachments: Defines all the attachments that can be equipped on your weapon.
Refer to