概要
public static void UpdatePositionsFromLineRenderer ( this LineRenderer self, LineRenderer lineRenderer ) { var positionCount = lineRenderer.positionCount; self.positionCount = positionCount; for ( var i = 0; i < positionCount; i++ ) { self.SetPosition( i, lineRenderer.GetPosition( i ) ); } }