Michsky – Docs Michsky – Docs
  • Home
  • Documentation
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact
Michsky – Docs Michsky – Docs
Michsky – Docs
  • Home
  • Documentation
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact

Modern UI Pack

  • Quick Start
  • UI Elements
    • Button
    • Charts
    • Context Menu
    • Dropdown
    • Horizontal Selector
    • List View
    • Modal Window
    • Movable Window
    • Notification
    • Progress Bar
    • Slider
    • Switch
    • Tooltip
    • Window Manager
    • Other Elements
  • UI Manager
  • Examples
  1. Home
  2. Docs
  3. Modern UI Pack
  4. UI Elements
  5. Tooltip
Updated on February 17, 2022

Modern UI Pack

  • Quick Start
  • UI Elements
    • Button
    • Charts
    • Context Menu
    • Dropdown
    • Horizontal Selector
    • List View
    • Modal Window
    • Movable Window
    • Notification
    • Progress Bar
    • Slider
    • Switch
    • Tooltip
    • Window Manager
    • Other Elements
  • UI Manager
  • Examples

Tooltip

Author: admin 106 views

After creating the Tooltip System from Modern UI Pack menu, you can add ‘Tooltip Content’ component to the objects you want to use with. Just type your description and you’re good to go! You can also change tooltip bounds, but I’d suggest you keep them. It’s basically changing the tooltip direction, so it’s always visible even if it’s on the corner. Works with Screen Space Camera, Screen Space Overlay and World Space (with limitations) canvas modes.

Properties

Property Type Function

mainCanvas

Canvas

Initializes the system depending on the rendering mode.

tooltipSmoothness

float

Sets the tooltip animation smoothness.

preferredWidth

float

Sets the max tooltip width.

Scripting (Tooltip Manager)

				
					using Michsky.UI.ModernUIPack; // namespace

public TooltipManager myTooltipSystem;

void YourFunction()
{
   myTooltipSystem.tooltipSmoothness = 0.1f; // Change smoothness
   myTooltipSystem.allowUpdating = false; // Allow or disallow updating
}				
			

Scripting (Tooltip Content)

				
					using Michsky.UI.ModernUIPack; // namespace

public TooltipContent myTooltipContent;

void YourFunction()
{
   myTooltipContent.description = "New description"; // Change description
   myTooltipContent.delay = 0f; // Add/change delay
}				
			

How can we help?

A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.

Content

© 2022 Michsky