C# Class GenericShop, 2DPlatformer

Inheritance: MonoBehaviour, Inventory
Mostra file Open project: MarbleGameDev/2DPlatformer Class Usage Examples

Public Properties

Property Type Description
Enabled bool
buyBox Transform
item Text
itemCost int>.Dictionary
itemCount int>.Dictionary
items List
shopIdentifier string
shopWindow Transform

Public Methods

Method Description
AddObject ( object obj, int num ) : void
Awake ( ) : void
BuyItem ( object obj ) : void
DrawInv ( ) : void
GetInventory ( ) : void
OpenWindow ( ) : void
ResetInv ( ) : void
SaveInventory ( ) : void
SetupShop ( ) : void
Start ( ) : void
UpdateInv ( ) : 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

BuyItem() public method

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

DrawInv() public method

public DrawInv ( ) : void
return void

GetInventory() public method

public GetInventory ( ) : void
return void

OpenWindow() public method

public OpenWindow ( ) : void
return void

ResetInv() public method

public ResetInv ( ) : void
return void

SaveInventory() public method

public SaveInventory ( ) : void
return void

SetupShop() public method

public SetupShop ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UpdateInv() public method

public UpdateInv ( ) : void
return void

Property Details

Enabled public_oe property

public bool Enabled
return bool

buyBox public_oe property

public Transform buyBox
return Transform

item public_oe property

public Text item
return Text

itemCost public_oe property

public Dictionary itemCost
return int>.Dictionary

itemCount public_oe property

public Dictionary itemCount
return int>.Dictionary

items public_oe property

public List items
return List

shopIdentifier public_oe property

public string shopIdentifier
return string

shopWindow public_oe property

public Transform shopWindow
return Transform