public override void updateBehavior(ProxySprite sprite) { float sy = sprite.getScaleY(); sprite.setScale(sprite.getScaleX(), sy * -1f); }
public override void updateBehavior(ProxySprite sprite) { float sx = sprite.getScaleX(); sprite.setScale(sx * -1f, sprite.getScaleY()); }