Sinespace Client  2023.2.17543
Client-side scripting for Sinespace
SineSpace.Scripting.Components.SUIToolTipHint Class Reference
Inheritance diagram for SineSpace.Scripting.Components.SUIToolTipHint:
ScriptClassComponent< ToolTipHintBaseInternal >

Properties

bool Enabled [get, set]
 Get or set whether the tool tip component is Enabled or not. More...
 
string Text [get, set]
 Get or set the string value this tool tip displays. More...
 
SResource Texture [get, set]
 Get or set the tooltip's texture. More...
 
- Properties inherited from ScriptClassComponent< ToolTipHintBaseInternal >
SGameObject GameObject [get]
 Return the GameObject which component added. More...
 

Property Documentation

◆ Enabled

bool SineSpace.Scripting.Components.SUIToolTipHint.Enabled
getset

Get or set whether the tool tip component is Enabled or not.

local tooltip=Space.Host.GetReference("ToolTip").UIToolTipHint
&ndash;add ToolTip to object references.
Space.Log(button.Enabled)
&ndash;return true.

◆ Text

string SineSpace.Scripting.Components.SUIToolTipHint.Text
getset

Get or set the string value this tool tip displays.

local tooltip=Space.Host.GetReference("ToolTip").UIToolTipHint
Space.Log(tooltip.Text)

◆ Texture

SResource SineSpace.Scripting.Components.SUIToolTipHint.Texture
getset

Get or set the tooltip's texture.

local tooltip=Space.Host.GetReference("ToolTip").UIToolTipHint
Space.Log(tooltip.Texture.Name)
&ndash;print texture name.