static void FlowUV1_XY(PaintJob j, int idx, ref object v, float r) { var s = j.stream; Vector4 o = s.uv1[idx]; Vector2 t = (Vector2)v; o.x = Mathf.Lerp(o.x, t.x, r); o.y = Mathf.Lerp(o.y, t.y, r); s.uv1[idx] = o; }