Breakroom is now Sinewave Campus. Book a meeting

SUIToolTipHint

客户端组件
在此类中Enabled
  1. 属性
  2. Enabled
  3. Text
  4. Texture
  5. GameObject
成员 4
属性EnabledGet or set whether the tool tip component is Enabled.
属性TextGet or set the string value this tool tip displays.
属性TextureGet 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​

SResource Texture {get; set; }

Get or set the tooltip's texture.

示例

Lua
Space.Host.ExecutingObject.UIToolTipHint.Texture = Space.GetResource("ResourceName")

GameObject只读​

SGameObject GameObject {get; }

示例

Lua
theGameObject = Space.Host.ExecutingObject.UIToolTipHint.GameObject