public void Update() { Vector2 dist = (target.Transform.Position - Owner.Transform.Position); if (dist.Length < range) { bool flip = renderer.Sprite.FlipX && renderer.Sprite.FlipY; if (flip) { renderer.SetFlip(false, false); } GetLerped(dist, Graphics.Instance.Window.deltaTime); } else { GetLerped(dist, Graphics.Instance.Window.deltaTime, true); } }