Last updated: Sep 7, 2022
The Attachment script contains a struct with the same name used to define what an attachment is in the asset. In our case, it really just means it stores the serialized fields that are shown below.
You can find the Attachment script ****at this path: Assets\Infima Games\Low Poly Animated - Modern Guns\Demo\Code\Attachments\Attachment.cs
Type. Defines the type of attachment this is. The name here is actually incredibly important, as it is later referenced in quite a few places.
Socket. Socket on an item that we want to spawn this attachment at.
Variants. All possible variants of this attachment. These are basically the prefabs that can be spawned for this type of attachment, for instance all of the different scopes for a weapon.