AttachmentIdentifier_SO.cs

The Attachment Identifier SO (Scriptable Object) functions similarly to a Weapon_SO. As a scriptable object, an attachment identifier defines a unique attachment, ensuring that no two different attachments share the same identifier.

To create a new unique AttachmentIdentifier_SO, right-click on the Project folder, then select Create → Cowsins → New Attachment Identifier.

Since each AttachmentIdentifier_SO defines a different Attachment, you will find the following variables:

  • attachmentName: Name of the attachment that will be displayed on pick up UI elements etc

  • attachmentIcon: Icon (Sprite) of the attachment

  • pickUpGraphics: Graphics to be displayed for the pickeable object...

Last updated