void ApplyPivot() { if (_pivot.x != 0 || _pivot.y != 0) { Vector3 oldOffset = _pivotOffset; UpdatePivotOffset(); Vector3 v = cachedTransform.localPosition; v += oldOffset - _pivotOffset; cachedTransform.localPosition = v; } }