Hello, i found something i perceive as a very serve flaw in the event system.
onclick is the only function that has an addlistener.
on enter/exit as example has this not which might end in very complicated code for me to make it working.
How can i get unity to improve this and improve the scripting event documentation as well?
Edit More Details:
It is not that easy. I am sure i will have to write quite some code to work around this here is the background of my request: ;
http://forum.unity3d.com/threads/onhover.386290/#post-2512721
If you know how to do this in one line then be free to share it but if i have to write 20+ lines to do what onclick.addlistener can do in one line there is definitively somthing to improve!
Edit2 since you disagree with the complicated part here is my code, if its so simple just replace the line :
fmitem.GetComponent