Hi !
I have a baseclass BaseItem (which derived from ScriptableObject) and subclasses (Item, Weapon, Equip etc)
All of the objects are stored in a list.
How can I check if a specific element in that list is an item, a weapon ?
Hi !
I have a baseclass BaseItem (which derived from ScriptableObject) and subclasses (Item, Weapon, Equip etc)
All of the objects are stored in a list.
How can I check if a specific element in that list is an item, a weapon ?