C# Class InventoryModule.InventoryManager

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: mprofGamesDev-Dreams/dreams Class Usage Examples

Public Methods

Method Description
AddItem ( A_Item newItem ) : bool
GetItem ( A_Item item ) : A_Item
GetItemAt ( int index ) : A_Item
ItemExists ( A_Item item ) : bool
RemoveItem ( A_Item itemToRemove ) : A_Item

Private Methods

Method Description
Start ( ) : void

Method Details

AddItem() public method

public AddItem ( A_Item newItem ) : bool
newItem A_Item
return bool

GetItem() public method

public GetItem ( A_Item item ) : A_Item
item A_Item
return A_Item

GetItemAt() public method

public GetItemAt ( int index ) : A_Item
index int
return A_Item

ItemExists() public method

public ItemExists ( A_Item item ) : bool
item A_Item
return bool

RemoveItem() public method

public RemoveItem ( A_Item itemToRemove ) : A_Item
itemToRemove A_Item
return A_Item