get angle by vector2 unity code example
Example: unity vector2 angle
//Find the angle for the two Vectors
float m_Angle = Vector2.Angle(m_MyFirstVector, m_MySecondVector);
//Find the angle for the two Vectors
float m_Angle = Vector2.Angle(m_MyFirstVector, m_MySecondVector);