hi all
i want to start this loop whit different starting value, i want to do like this Mathf.PingPong(93, 99), but it dosent work. haw can i do it? or you cant?
can u tell in detail
wants so instead of ping-ponging from 0->N, it instead ping-pongs from N1->N2.
public static float PingPong(float t, float max, float min)
{
return min + Mathf.PinPong(t - min, max - min);
}