Ejemplo n.º 1
0
 /*
  * int n = 0;
  * void Update(){
  *      frameCount++;
  *      if (Time.time > nextUpdate)
  *      {
  *              nextUpdate += 1.0f/updateRate;
  *              fps = frameCount * updateRate;
  *              frameCount = 0;
  *              n++;
  *              if (write)
  *                      sr.WriteLine (" " + (n + 1) + "   " + fps);
  *      }
  * }
  */
 void FixedUpdate()
 {
     if (start)
     {
         narrowPhase.OnFixedUpdate();
     }
 }