Item Class

MyDungeon

Item Class

Item is the base class for Items
Inheritance Hierarchy
SystemObject  Object
    ScriptableObject
      MyDungeon.ItemsItem

Namespace:  MyDungeon.Items
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public abstract class Item : ScriptableObject

The Item type exposes the following members.

Constructors
  NameDescription
Protected methodItem
Initializes a new instance of the Item class
Top
Methods
  NameDescription
Protected methodUse
Public methodUseItem
Sets Target and calls Use() for inheriting classes
Top
Fields
  NameDescription
Protected fieldTarget
The target game object to affect with an item
Public fieldUseSounds
An array of sounds an item can choose from when an item is used
Top
See Also