title: Counting Rotations [Unity C#]
body: <p>Trying to figure out a way to increment the rotation count after the spinner passes 360 degrees. Though this never works because eulerAngles reset at 360. What's a good way to do this? I tried doing > 355, but that is't a great solution.</p>
  
  <pre><code>            Spinner.transform.Rotate(0, 0, speed);
              float angleZ = Spinner.rotation.eulerAngles.z;
  
              if (angleZ &gt; 360)
              {
                  Rotations++;
              }
  </code></pre>