/// <summary> /// Calculates lines positions and draws them /// </summary> private void Lines() { CustomGizmos.DrawLine(new Vector3(1f, 0, 0), new Vector3(1f, 0, 1), 1f - sinParam * linesAmplitude - linesOffset, 0); CustomGizmos.DrawLine(new Vector3(1.2f, 0, 0), new Vector3(1.2f, 0, 1), sinParam * linesAmplitude + linesOffset); CustomGizmos.DrawLine(new Vector3(1.4f, 0, 0), new Vector3(1.4f, 0, 1), 0, 1 - sinParam * linesAmplitude - linesOffset); }