unity lerp lookat code example
Example: unity lookrotation lerp
Quaternion lookOnLook =
Quaternion.LookRotation(enemy.transform.position - transform.position);
transform.rotation =
Quaternion.Slerp(transform.rotation, lookOnLook, Time.deltaTime);