C# Class InventoryUI, DemonHeart

Inheritance: MonoBehaviour
Show file Open project: rwbysafire/DemonHeart Class Usage Examples

Public Properties

Property Type Description
ItemDescription Text,
ItemName Text,
ItemText GameObject
background GameObject
inventory GameObject
itemListDictionary List>.Dictionary
itemMoveHolder ItemTemplate
itemSlotCount int
itemTemplate GameObject
playerScript Mob
skillImages List

Public Methods

Method Description
AddArmorGem ( ArmorGem gem ) : void
AddItem ( Item, item ) : bool
AddItem ( Item, item, Item, type ) : bool
AttachItem ( Item, item, Item, type ) : bool
HideText ( ) : void
OnBackgroundClick ( ) : void
RemoveArmorGem ( ArmorGem gem ) : void
ShowText ( string name, string description ) : void
Start ( ) : void
Update ( ) : void
addSkillGem ( int index, Gem gem ) : void
removeSkillGem ( int index, Gem gem ) : void
removeSkillGems ( int index ) : void
setItemListDictionary ( Dictionary listDictionary ) : void
updateInventorySkillImages ( ) : void

Private Methods

Method Description
SetItemDescription ( string s ) : void
SetItemName ( string s ) : void

Method Details

AddArmorGem() public method

public AddArmorGem ( ArmorGem gem ) : void
gem ArmorGem
return void

AddItem() public method

public AddItem ( Item, item ) : bool
item Item,
return bool

AddItem() public method

public AddItem ( Item, item, Item, type ) : bool
item Item,
type Item,
return bool

AttachItem() public method

public AttachItem ( Item, item, Item, type ) : bool
item Item,
type Item,
return bool

HideText() public method

public HideText ( ) : void
return void

OnBackgroundClick() public method

public OnBackgroundClick ( ) : void
return void

RemoveArmorGem() public method

public RemoveArmorGem ( ArmorGem gem ) : void
gem ArmorGem
return void

ShowText() public method

public ShowText ( string name, string description ) : void
name string
description string
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

addSkillGem() public method

public addSkillGem ( int index, Gem gem ) : void
index int
gem Gem
return void

removeSkillGem() public method

public removeSkillGem ( int index, Gem gem ) : void
index int
gem Gem
return void

removeSkillGems() public method

public removeSkillGems ( int index ) : void
index int
return void

setItemListDictionary() public method

public setItemListDictionary ( Dictionary listDictionary ) : void
listDictionary Dictionary
return void

updateInventorySkillImages() public method

public updateInventorySkillImages ( ) : void
return void

Property Details

ItemDescription public property

public Text, ItemDescription
return Text,

ItemName public property

public Text, ItemName
return Text,

ItemText public property

public GameObject ItemText
return GameObject

background public property

public GameObject background
return GameObject

inventory public property

public GameObject inventory
return GameObject

itemListDictionary public property

public Dictionary> itemListDictionary
return List>.Dictionary

itemMoveHolder public property

public ItemTemplate itemMoveHolder
return ItemTemplate

itemSlotCount public property

public int itemSlotCount
return int

itemTemplate public property

public GameObject itemTemplate
return GameObject

playerScript public property

public Mob playerScript
return Mob

skillImages public property

public List skillImages
return List