C# Class GenericChest, 2DPlatformer

Inheritance: MonoBehaviour, Inventory
Show file Open project: MarbleGameDev/2DPlatformer

Public Properties

Property Type Description
ChestWindow Transform
Enabled bool
empty bool
inventoryIdentifier string
item Text
itemCount int>.Dictionary
items List

Public Methods

Method Description
AddObject ( object obj, int num ) : void
Awake ( ) : void
GetInventory ( ) : void
OpenWindow ( ) : void
RemoveItem ( object obj ) : void
ResetInv ( ) : void
SaveInventory ( ) : void
Start ( ) : void
TransferItem ( object obj ) : void

Private Methods

Method Description
SetupItems ( ) : void

Method Details

AddObject() public method

public AddObject ( object obj, int num ) : void
obj object
num int
return void

Awake() public method

public Awake ( ) : void
return void

GetInventory() public method

public GetInventory ( ) : void
return void

OpenWindow() public method

public OpenWindow ( ) : void
return void

RemoveItem() public method

public RemoveItem ( object obj ) : void
obj object
return void

ResetInv() public method

public ResetInv ( ) : void
return void

SaveInventory() public method

public SaveInventory ( ) : void
return void

Start() public method

public Start ( ) : void
return void

TransferItem() public method

public TransferItem ( object obj ) : void
obj object
return void

Property Details

ChestWindow public property

public Transform ChestWindow
return Transform

Enabled public property

public bool Enabled
return bool

empty public property

public bool empty
return bool

inventoryIdentifier public property

public string inventoryIdentifier
return string

item public property

public Text item
return Text

itemCount public property

public Dictionary itemCount
return int>.Dictionary

items public property

public List items
return List