void OnPickDown(PickUpAbleItem obj)
 {
     if (obj is LinkItem)
     {
         linkConnectCtrl.SetDisableItem(obj as LinkItem);
         linkObj.TryActiveLinkItem();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 放下
 /// </summary>
 /// <param name="obj"></param>
 void OnPickDown(PickUpAbleItem obj)
 {
     if (obj is LinkItem)
     {
         LinkUtil.ClearActivedLinkPort(obj as LinkItem);
         var linkItem = obj as LinkItem;
         if (linkItem)
         {
             linkConnectCtrl.SetDisableItem();
         }
     }
 }