private void Refresh() { Spline.Sample(m_EditorSpline, s_CachedPoints, 0, 1, 0, m_VertexCount, SplineLerp.Precise); m_Renderer.positionCount = m_VertexCount; m_Renderer.SetPositions(s_CachedPoints); }