Shoul i delete Debug.log for final version?

I’m done with my game and ready to send it to apple.

My concern are… should i delete all comments and debug.log/print?

thanx!

There’s totally no point deleting comments, since those are not included in code. You can turn off “use player log” in the player settings, though I don’t know if that works with iOS.

–Eric

There was a good discussion on Debug.Log here:

http://forum.unity3d.com/threads/138542-Any-idea-why-this-code-is-killing-frames-per-second

Ty!.

Going to make a copy of my game and delete all my Debug.

I suggest you to do it, because if you have too many debug.log or print the game might run slow!

i did that.

im waiting for apple review

ty all!

You could also wrap your own preprocessor definition around your debug code, like

#if MYDEBUG
Debug.Log(*,,,")
#endif

and define/undefine it in Player Settings