title: c# Unity Mathf.PingPong not working
body: <p>My value stays the same rather than being pingponged</p>
  
  <pre><code>IEnumerator CrossHairScale(){
      float size = 0;
      float finalsize = Mathf.Lerp (minSize, maxSize, Mathf.PingPong(size, 1));
  
      while (transform != null) {
          transform.localScale = new Vector3 (finalsize, finalsize, finalsize);
          yield return null;
      }
  }
  </code></pre>