How to do Lerp Rotation, by getting values from InputField?

Hi Friends,

I am trying to get the rotation angle from user via InputField, and accordingly rotate the gameobject slowly.

How to lerp from previous state and the current angle whenever we type values in InputField and Press Enter??
I am calling the lerp function every time from End Edit String.

Thanks
Jeeva

Hi friends, For this problem, I got the perfect answer from the following thread. we need to use Quaternion.Lerp instead of Euler angles to work perfectly at least in this case.