Item_SO

  • itemName

  • description

  • itemIcon: Item Icon Sprite for Pickups & Inventory

    This sprite functions as the icon for items within pickups and inventory in 2D games, and solely in the inventory for 2.5D games.

  • item3DObject: 3D Model Visuals for PickUps . This object functions for the visuals of pick ups in 2.5D Games. Not available for 2.5D Games.

  • maxStack: Maximum amount of this item to be contained in a single inventory slot

Use(WeaponController controller)

You can override this on your own Items_SO. Notice that this is not a function. It returns a boolean. If you can use it, it will return true, if not it will return false. /You can adjust this behaviour as much as you want

  • controller: WeaponController necessary to pass. You can use this to perform custom operations and to access the player in case you need it.

HOW CAN I CREATE A NEW ITEM_SO?

To create a new inventory item in your project folder, follow these steps:

  1. Navigate to the Project folder.

  2. Right-click inside the folder.

  3. Select Create.

  4. Choose Cowsins.

  5. Click on New Inventory Item.

Last updated