Hi,
I’m sorry if this question is asked before. But I am not getting autocomplete for inherited methods like OnMouseDown from MonoBehaviour. In fact its not working any inherited classes. Is there any way to fix this?
Hi,
I’m sorry if this question is asked before. But I am not getting autocomplete for inherited methods like OnMouseDown from MonoBehaviour. In fact its not working any inherited classes. Is there any way to fix this?
Most of Unity events (if not all) are not inherited from MonoBehaviour. There are executed at runtime using the reflexion mechanism.
This is a design choice that prevent computing unused events and calling empty methods (among other reasons). If the method is not defined, it is not called at all.