public void Throw(Vector2 direction) { equipped.transform.parent = null; if (direction.x == 0 && direction.y == 0) { direction.x = Mathf.FloorToInt(transform.localScale.x); } equipped.ThrowDirection(direction); equipped = null; }