SUIToolTipHint
客户端组件
在此类中Enabled
成员 4
| 属性 | Enabled | Get or set whether the tool tip component is Enabled. |
| 属性 | Text | Get or set the string value this tool tip displays. |
| 属性 | Texture | Get or set the tooltip's texture. |
| 属性 | GameObject | – |
属性
Enabled
bool Enabled {get; set; }
Get or set whether the tool tip component is Enabled.
示例
Lua
Space.Host.ExecutingObject.UIToolTipHint.Enabled = true
Text
string Text {get; set; }
Get or set the string value this tool tip displays.
示例
Lua
Space.Host.ExecutingObject.UIToolTipHint.Text = "AToolTip"
Texture
Get or set the tooltip's texture.
示例
Lua
Space.Host.ExecutingObject.UIToolTipHint.Texture = Space.GetResource("ResourceName")
GameObject只读
示例
Lua
theGameObject = Space.Host.ExecutingObject.UIToolTipHint.GameObject



