Generate Unity functions without including "throw new NotImplementedException();"

Answered

It's a bit of a weird request, but is there any way to generate these event functions without it also generating the code "throw new NotImplementedException();" and therefore including the System namespace? I find myself generating the functions and then deleting the using tag, since I don't need to use System at the time.

0
4 comments

Hello,

There is a setting Preferences | Editor | Members Generation where you can change generated member default style, does it work for you?

0
Avatar
Permanently deleted user

Hello Olga Diakonova, that has worked. Is there any trade-offs to this? Thank you

0

There should not be, setting does exactly what it says, defines default body for member generation, that's it.

0
Avatar
Permanently deleted user

Thanks

0

Please sign in to leave a comment.