Item Manager

From Graal Bible
Revision as of 05:54, 30 June 2021 by JimmyAkl (talk | contribs)

This section will go over how to create and add an item (gun, melee, items...) to your character.

Step1

In the weapon: 3D/Player/Item/Manager

in the function onCreated() and to the variable this.allItems add your item using this format:

{name Of Item, associated Weapon, icon Prefab for UI}

ItemManager.png

Step2

Create the associated Weapon for the item you want to create.

Check 3D/Player/Item/Weapons/Ranged/Gun/M16 for example.