diff --git a/README.md b/README.md index 1c808fe..fdf7f53 100644 --- a/README.md +++ b/README.md @@ -552,7 +552,11 @@ ScreenManager.Set(tooltipName: "Tooltip"); Show the tooltip ```cs -ScreenManager.ShowTooltip(text: "Tooltip Text", anchoredPosition: Vector2.zero, targetY: 100f); +public Transform button; +``` + +```cs +ScreenManager.ShowTooltip(text: "Tooltip Text", worldPosition: button.position, targetY: 100f); ```

9. Other useful methods of ScreenManager