PoiPoiTooltip is a simple tooltip asset.
Tooltip design is freely customizable. (Only RectTransform)
There are 10 types of animations.
This asset requires DOTween.
TO_TOP | TO_TOP_FADE | TO_TOP_EXPAND | TO_TOP_ATTACHED | TO_TOP_FUN |
---|---|---|---|---|
TO_BOTTOM | TO_BOTTOM_FADE | TO_BOTTOM_EXPAND | TO_BOTTOM_ATTACHED | TO_BOTTOM_FUN |
---|---|---|---|---|
- Import DOTween into your project.
- Import PoiPoiTooltip.unitypackage from latest releases.
- Add a PoiPoiTooltip component to the RectTransform you want to display a tooltip.
- Set a Tooltip object that you want to display in
Tool Tip Rect
. - Choice a animation type from
Play Animation Type
.
(Demo: Assets/PoiPoiTooltip/Example/Scenes/StaticDemo.unity)
- Add a PoiPoiTooltip component to the RectTransform you want to display a tooltip.
[Target RectTransform].gameobject.AddComponent<PoiPoiTooltip>();
- Use the initialization method.
[Target RectTransform].InitTooltip([tooltip object], [animation type]);
(Demo: Assets/PoiPoiTooltip/Example/Scenes/DynamicDemo.unity)
- Unity 2018.2.5f1
- DOTween v1.2.235
- MIT License