C# Class ToolTip

Inheritance: MonoBehaviour
Show file Open project: BornToGrill/Project-Frequency Class Usage Examples

Public Properties

Property Type Description
Maintext string
Subtitle string
Title string
TooltipPrefab GameObject

Public Methods

Method Description
OnPointerEnter ( PointerEventData eventData ) : void
OnPointerExit ( PointerEventData eventData ) : void
SetCost ( int cost, bool hasEnoughMoney ) : void
SetWarning ( string warning ) : void
Start ( ) : void

Method Details

OnPointerEnter() public method

public OnPointerEnter ( PointerEventData eventData ) : void
eventData PointerEventData
return void

OnPointerExit() public method

public OnPointerExit ( PointerEventData eventData ) : void
eventData PointerEventData
return void

SetCost() public method

public SetCost ( int cost, bool hasEnoughMoney ) : void
cost int
hasEnoughMoney bool
return void

SetWarning() public method

public SetWarning ( string warning ) : void
warning string
return void

Start() public method

public Start ( ) : void
return void

Property Details

Maintext public property

public string Maintext
return string

Subtitle public property

public string Subtitle
return string

Title public property

public string Title
return string

TooltipPrefab public property

public GameObject TooltipPrefab
return GameObject