private void Awake() { lineAlpha = path.GetNearestAlpha(rigidbody.position); rigidbody.position = path.GetPoint(lineAlpha); }