private void OnMouseDrag() { if (IsBehindGUI()) { return; } if (IsFlying) { return; } Vector2 pos = Camera.main.ScreenToWorldPoint(Input.mousePosition); GameManger.DragBird(this, pos); }