Tooltip on Unity event
Hi
I see that the Tooltip attributes works only on public fields. Is there a way to display a tooltip when hovering on a public Unity persistent event ?
Thanks
Michael
Answer by Arsonistic · Jan 04, 2019 at 02:45 AM
There sadly does not appear to be any way of doing that.
Unity have stated that they don't provide that functionality for 'stability' reasons (at least in older versions): https://issuetracker.unity3d.com/issues/custom-inspector-tooltips-dont-work-with-unityevent-fields-and-no-error-is-shown-in-script
It's not quite the same, but you could maybe make use of HeaderAttributes for short tooltip-like comments.
Only solution, if you absolutely must have them, would be creating your own version of the UnityEvent class with all the functionality you'd need, but that's probably a lot of work for little value.