Vector2 moving(float dir)
{
ย ย ย  float rad = dir * Mathf.PI / 180;
ย ย ย  return new Vector2(Mathf.Cos(rad), Mathf.Sin(rad));
}

ํ‹€๋ฆฐ๊ฑฐ ์žˆ์Œ?