Answer the question
In order to leave comments, you need to log in
How to change the sprite of an object when it is rotated?
void Flip()
{
facingRight = !facingRight;
Vector3 Scaler = transform.localScale;
Scaler.x *= -1;
transform.localScale = Scaler;
What to add to change the sprite or animation? I tried to do it myself, but nothing really happened.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question