Have found a way using Quaternion.Euler.
Below is the code:
m_Rotation += 1.0f;
transform.rotation = Quaternion.Euler(new Vector3(0,0,-m_Rotation * m_Speed));
if(m_Rotation == 360)
{
m_Rotation = 0;
}
if(m_Rotation 60 && m_Rotation
Trending Articles
More Pages to Explore .....