Tooltip Trigger
Last updated
Last updated
Part of the Tooltip System of the UX Complete asset.
A tooltip trigger indicates when a tooltip should be shown and then subsaquently hidden. Tooltip Trigger is available in the following forms
Invokes GameEvents when the tip should be activated and cancled respectivly
Toggles a game object's active state when the tip is actiavted and cancled
Invokes Unity Events when the tip should be activated and cancled respectivly
Type | Name | Notes |
---|---|---|
For GameEvent and UnityEvent triggers these are raised when the delay time has passed after the trigger has been activated
For GameEvent and UnityEvent triggers these are raised when the activation loses focus or if using the cancel timer when the cancel delay time has passed after the tip has been shown.
bool
isActive
if false then this trigger will not fire
float
triggerDelay
the time in seconds the trigger will delay activation
bool
useCancelTimer
if true then this trgger will close its self after the indicated time has passed. If false this trigger will only close when it loses activation.
float
cancelDelay
if useCancelTimer is true then this is the number of seconds after the tip is shown before the trigger self cancels.