Character moves sideways

If you post a code snippet, ALWAYS USE CODE TAGS:

How to use code tags: Using code tags properly

How to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

You may get some measure of success by reparenting your character prefab to include the required rotational offset between its root and the direction the geometry is facing.