void OnClick()
{
Debug.Log("OnClick");
if (mDraggedItem != null)
{
OnDrop(null);
}
else if (mItem != null)
{
mDraggedItem = Replace(null);
if (mDraggedItem != null)
{
NGUITools.PlaySound(grabSound);
Debug.Log("dragged item: "+mDraggedItem.name);
}
UpdateCursor();
}
}