Can Unity generate method stubs for common script types?

I’m asking because I’m reading through the Lerpz Tutorial and was stuck for a little while with the Game Over Scene. Turns out it wasn’t showing up because I typed “function onGUI()” instead of “function OnGUI()”.

That little mistake made me realize that that kind of typos can and will occur in the future so I wanted to know if there is a way to avoid them before hand.

Kinda related, could it be possible that Monodevelop’s code completion is a little on the crap side? I’m used to Eclipse where it’s awesomely sharp, maybe I’m a little spoiled :stuck_out_tongue: Or maybe there is something crucial I need to configure.

No error in code completition. its because these functions are not invoked by unity over blalba.OnGUI as such it will not auto complete as there is no virtual function you override unluckily.

They are fired through reflection / something like SendMessage which calls them by string, so either you type the string correctly or its simply not there.