Unity supports the rich-text tag "<a href=...>"
and will do the corresponding operating system action (usually open a web browser) when clicking on that label.
Can I register a handler that customizes the behavior for the label (or globally - similar to EditorGUI.hyperlinkClicked for console <link=...>
messages)?
Edit: A bit of debugging leaves me with little hope. The call to Application.OpenURL comes from TextEventHandler.ATagOnPointerUp and comes from a simple PointerUp. It seems to be unconditionally and non-configurable . So I guess there is no secret “RegisterEvent<HyperlinkClicked>” or something like that…? Anyone knows whether I can at least hijack parts of this system?