C# Class InventoryUI, DemonHeart

Inheritance: MonoBehaviour
显示文件 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_oe property

public Text, ItemDescription
return Text,

ItemName public_oe property

public Text, ItemName
return Text,

ItemText public_oe property

public GameObject ItemText
return GameObject

background public_oe property

public GameObject background
return GameObject

inventory public_oe property

public GameObject inventory
return GameObject

itemListDictionary public_oe property

public Dictionary> itemListDictionary
return List>.Dictionary

itemMoveHolder public_oe property

public ItemTemplate itemMoveHolder
return ItemTemplate

itemSlotCount public_oe property

public int itemSlotCount
return int

itemTemplate public_oe property

public GameObject itemTemplate
return GameObject

playerScript public_oe property

public Mob playerScript
return Mob

skillImages public_oe property

public List skillImages
return List