Sinespace Client 2025.3.19431
Client-side scripting for Sinespace
SineSpace.Scripting.Components.SUIToolTipHint Class Reference
Inheritance diagram for SineSpace.Scripting.Components.SUIToolTipHint:
ScriptClassComponent< T > ScriptClass< T > ScriptClassWrapper< T > ScriptClass

Properties

bool Enabled [get, set]
 Get or set whether the tool tip component is Enabled or not.
 
string Text [get, set]
 Get or set the string value this tool tip displays.
 
SResource Texture [get, set]
 Get or set the tooltip's texture.
 
- Properties inherited from ScriptClassComponent< T >
SGameObject GameObject [get]
 Return the GameObject which component added.
 
- Properties inherited from ScriptClass< T >
override bool Alive [get]
 Return if the component is alive.
 
- Properties inherited from ScriptClassWrapper< T >
_wrap [get]
 
- Properties inherited from ScriptClass
virtual bool Alive [get]
 
DynValue CachedData [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from ScriptClassWrapper< T >
override void Initialise (SScript runtime, object wrapper)
 
- Public Member Functions inherited from ScriptClass
void ReportError (string error, bool fatal, UnityEngine.Object target=null)
 
void Initialise (SScript runtime, object wrapper)
 
- Protected Member Functions inherited from ScriptClass
void Initialise (SScript runtime)
 

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.