Show() public static method

public static Show ( string tooltip, Rect rect ) : void
tooltip string
rect Rect
return void
示例#1
0
 private void ShowMessage(string msg)
 {
     TooltipView.Show(msg, this.GetScreenRect());
 }
 void ShowMessage(string msg)
 {
     TooltipView.Show(msg, GetScreenRect());
 }
示例#3
0
 /// <summary>
 /// Draws a hint at a specific position of the screen.
 /// </summary>
 /// <param name="hint">The content of the hint</param>
 /// <param name="rect">The rect where the hint will be drawn. The top-left corner of the hint will start at the X coordinate</param>
 public static void DrawHintAt(DynamicHintContent hint, Rect rect)
 {
     TooltipView.s_ForceExtensionOfNextDynamicHint = true;
     TooltipView.Show(hint.ToTooltipString(), rect);
 }