C# Class Tooltip, TestGame

Inheritance: MonoBehaviour
显示文件 Open project: liuxq/TestGame Class Usage Examples

Public Properties

Property Type Description
btn_drop UnityEngine.GameObject
btn_equip UnityEngine.GameObject
btn_hotBar UnityEngine.GameObject
btn_unEquip UnityEngine.GameObject
btn_use UnityEngine.GameObject
item Item,
tooltipHeight float
tooltipType TooltipType

Public Methods

Method Description
Start ( ) : void
activateTooltip ( ) : void
deactivateTooltip ( ) : void
dropItem ( ) : void
equipItem ( ) : void
equipTooltip ( ) : void
hotBarItem ( ) : void
setVariables ( ) : void
unEquipItem ( ) : void
useItem ( ) : void

Private Methods

Method Description
setOperateByType ( TooltipType ttype ) : void

Method Details

Start() public method

public Start ( ) : void
return void

activateTooltip() public method

public activateTooltip ( ) : void
return void

deactivateTooltip() public method

public deactivateTooltip ( ) : void
return void

dropItem() public method

public dropItem ( ) : void
return void

equipItem() public method

public equipItem ( ) : void
return void

equipTooltip() public method

public equipTooltip ( ) : void
return void

hotBarItem() public method

public hotBarItem ( ) : void
return void

setVariables() public method

public setVariables ( ) : void
return void

unEquipItem() public method

public unEquipItem ( ) : void
return void

useItem() public method

public useItem ( ) : void
return void

Property Details

btn_drop public_oe property

public GameObject,UnityEngine btn_drop
return UnityEngine.GameObject

btn_equip public_oe property

public GameObject,UnityEngine btn_equip
return UnityEngine.GameObject

btn_hotBar public_oe property

public GameObject,UnityEngine btn_hotBar
return UnityEngine.GameObject

btn_unEquip public_oe property

public GameObject,UnityEngine btn_unEquip
return UnityEngine.GameObject

btn_use public_oe property

public GameObject,UnityEngine btn_use
return UnityEngine.GameObject

item public_oe property

public Item, item
return Item,

tooltipHeight public_oe property

public float tooltipHeight
return float

tooltipType public_oe property

public TooltipType tooltipType
return TooltipType