Patch Tooltip

release
Simon (darkside) Jackson 2020-10-27 01:16:58 +00:00
parent 0ab5e6edf7
commit 45de2322c4
1 changed files with 5 additions and 0 deletions

View File

@ -121,6 +121,11 @@ namespace UnityEngine.UI.Extensions
this.gameObject.SetActive(false);
}
public void SetTooltip(string ttext)
{
SetTooltip(ttext, transform.position);
}
//Call this function externally to set the text of the template and activate the tooltip
public void SetTooltip(string ttext, Vector3 basePos, bool refreshCanvasesBeforeGetSize = false)
{