예제 #1
0
    public void SetDragCursor(DragCursorWorld cursor)
    {
        if (_dragCursor != cursor)
        {
            if (mIsDragging && _dragCursor)
            {
                _dragCursor.UnregisterDropValidCheck(this);
            }

            _dragCursor = cursor;

            if (mIsDragging && _dragCursor)
            {
                _dragCursor.RegisterDropValidCheck(this);
            }
        }
    }