Skip to content

arket/PoiPoiTooltip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoiPoiTooltip

PoiPoiTooltip is a simple tooltip asset.
Tooltip design is freely customizable. (Only RectTransform)
There are 10 types of animations.

This asset requires DOTween.

日本語 Readme

Animations

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

Install

  1. Import DOTween into your project.
  2. Import PoiPoiTooltip.unitypackage from latest releases.

Usage

Static generation

  1. Add a PoiPoiTooltip component to the RectTransform you want to display a tooltip.
  2. Set a Tooltip object that you want to display in Tool Tip Rect.
  3. Choice a animation type from Play Animation Type.

(Demo: Assets/PoiPoiTooltip/Example/Scenes/StaticDemo.unity)

Dynamic generation

  1. Add a PoiPoiTooltip component to the RectTransform you want to display a tooltip.
[Target RectTransform].gameobject.AddComponent<PoiPoiTooltip>();
  1. Use the initialization method.
[Target RectTransform].InitTooltip([tooltip object], [animation type]);

(Demo: Assets/PoiPoiTooltip/Example/Scenes/DynamicDemo.unity)

Version

  • Unity 2018.2.5f1
  • DOTween v1.2.235

License

  • MIT License

About

PoiPoiTooltip is a simple tooltip. (Unity Asset)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages