BenoitGeslain / Visuo-haptic-Illusions-Toolkit

A toolkit for visuo-haptic illusions in Unity
Other
1 stars 1 forks source link

Add clickable url links in tooltips #16

Closed BenoitGeslain closed 6 months ago

BenoitGeslain commented 8 months ago

For example in paramtersToolkit.cs, users should be able to click on a link inside the tooltip

bjrtx commented 7 months ago

As per https://www.foundations.unity.com/components/tooltip '[t]ooltips are transient, concise, and easily scanned.' The preferred solution seems to be link labels pointing to out-of-editor documentation.

bjrtx commented 7 months ago

Either https://docs.unity3d.com/ScriptReference/EditorGUILayout.LinkButton.html or https://docs.unity3d.com/ScriptReference/EditorGUI.LinkButton.html ought to be relevant here