Problems with getting current rotation

hey guys, I’ve got some question about rotations. So here is the thing - I’m trying to get how much rotation have I done during the jump, but all I can see (i’m using Euler Angles) are degrees restricted by 0 - 360. What I wanna get is the real rotation value like 370… 450…720… and so on. So if u had any idea how to do this it would be great…

P.S. sorry for my English if I made any mistake, it’s my second language:)

something like this should work. Might be wrong axis. Change if required. You just need to figure out how you want to reset it.

float currentY = 0;
float previousY = 0;
float totalY = 0;

void Update()
{
  currentY = transform.eulerAngles.y;
  totalY += Mathf.DeltaAngle(currentY, previousY);
  previousY = currentY ;
}

Ok thanks man, i’ll try it)