I want to know what is a good way to flip the 2D game object, when a situation is completed Then flip the animation. / P>
Try this:
// switch the X Axis by multiplying by -1 Transform.localScale = new vector 3 (transform.localScale.x * -1, transform.localScale.y, transform.localScale.z);
No comments:
Post a Comment