Skip to main content
2 of 3
added 40 characters in body

Your Question is not clear, but I think what you want to do is flip the entire GameObject.
To do this, simply do myTrans.localScale *= -1 when the player changes direction.

You can also do something like this:

if(horizontalInput <  0)
    myTrans.localScale = new Vector2(1, 1, 1)
if(horizontalInput >  0)
    myTrans.localScale = new Vector2(-1, -1, -1)

at the end of the Move(float horizontalInput) function.