Topic: Change tooltip size

Hi Alex.
I need to make the tooltips a little bigger, but I can`t find how.
Do we have any way to configure the text size?

Alternatively, I tried to use the "uGUICustomTooltipForAllMarkersExample.cs" but I didn't find a Tooltip prefab or container to see how it works and how to configure it. Do you have and example scene?

Thanks

Re: Change tooltip size

Hello.

Example:
https://infinity-code.com/atlas/online- … ample.html

Old video about uGUI Tooltips:
https://forum.infinity-code.com/viewtop … 5664#p5664

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Change tooltip size

Hi Alex,

The "ModifyTooltipStyleExample" did the trick for me now.

Unfortunately, I couldn`t make work the UGUI example. It seems only to work on 2D markers and keep flickering when it shows on the canvas.
Nothing appears on the 3D markers.
Would be great to have a working scene example, when you have some spare time, as the UGUI is newer and easier to customize without code.

Thanks

Re: Change tooltip size

Yes, this example is made for 2D markers.
But it's not a problem to adapt this script to make it work for 3D markers too.
The modified script is attached.

I wrote your request to work, and in the next version I will try to make such an example scene.
But right now I can only make a new video for you to show how it works:
https://www.dropbox.com/s/4yuwzatsp5r8d … s.mp4?dl=0

Tooltips flicker when it has a component with Raycast Target - ON.
You have two ways to fix this:
1. Disable Raycast Target on all components in the tooltip prefab where it is enabled.
2. Online Maps / Troubleshooting / Not Interact Under GUI - OFF.

Post's attachments

Attachment icon uGUICustomTooltipForAllMarkersExample.cs 2.49 kb, 80 downloads since 2021-03-17 

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Change tooltip size

Thanks, Alex.
Fantastic support as always!
The flicker problem was the ray cast.