How many lines in your project??

Being a developer, I love stats… I actually need them. :wink:

Here is a little script that counts the files and lines in your project: http://www.unifycommunity.com/wiki/index.php?title=CountLines

It was made to be compatible with Unity iPhone. I haven’t tested it on Unity 2.5 (though it should work).
As stated on the Wiki, with Unity 2.5, it’d be easy to add some more advanced stuffs than what I do here (EditorUtility.DisplayDialog).

But hey it works and now I can count my lines with only one click :stuck_out_tongue:

I tested this script on my iPhone project which has 52 files and 6000+ lines and it still displays ok on my MBP so using EditorUtility.DisplayDialog is fine.

PS: I think I easily earn the trophy of the most useless script on the Wiki :smile:

Drugs are forbidden in germany.

It took me a minute to get this one. :roll:

Heh! The biggest program I’ve made so far had 109 scripts with a total of around 80000 lines of code. :smiley:

That was back when I didn’t know what I was doing, though. Most of that code is pretty useless.

Too many. Some days I just snap and go on a line-slaying spree - deleted bits and bytes all over the place.