topical media & game development

talk show tell print

lib-unity-demo-sewer-Assets--Scripts-pitchMod.js / js



  private var thePitch = 0.0;
  
  function Update () 
  {
          
          thePitch = Mathf.Sin (Time.time * 0.5) * 0.3 + 1.0;
          audio.pitch = thePitch;
  }


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.