-
Notifications
You must be signed in to change notification settings - Fork 0
TPTooltipPackage
Tomasz Piowczyk edited this page Sep 8, 2018
·
1 revision
public static Action<TPTooltip> OnObserverEnter;
public static Action<TPTooltip> OnObserverExit;
public static GameObject ShareLayout(GameObject layout, Transform parent = null){}
public static void OnTooltipPointerClick(PointerEventData eventData){}
public static void OnTooltipPointerEnter(PointerEventData eventData){}
public static void OnTooltipPointerExit(PointerEventData eventData){}
public static bool IsClickable(this TPTooltipType tooltipType){}
public static bool IsDynamic(this TPTooltipType tooltipType){}public bool UseSharedLayout;
public Vector2 DynamicOffset;
public Transform StaticPosition;
public void Prepare(TPTooltipType type){}
public void SetPosition(Vector2 position, bool clampToScreen = true){}
public void SetPositionToStatic()public TPTooltipType TooltipType;
public bool IsObserving = true;
public TPTooltipLayout TooltipLayout;DynamicEnter, // moves with cursor - show on pointer enter
DynamicClick, // moves with cursor - show on click
StaticEnter, // doesn't move with cursor - show on pointer enter
StaticClick // doesn't move with cursor - show on clickThis is extended documentation of TPFramework.Core, for core functionallity see THIS