static float MultiSineFunction(float x,float t){ float f = Mathf.Sin ( Mathf.PI * (x +t)); f += Mathf.Sin (2 * Mathf.PI * (x +2f* t)) / 2; f *= 2f / 3f; return f; }