protected override void OnPointerEnterOverride(PointerEventData eventData)
 {
     base.OnPointerEnterOverride(eventData);
     if (m_dragProjectItem != null)
     {
         m_treeView.ExternalBeginDrag(eventData.position);
     }
 }
 protected override void OnPointerEnterOverride(PointerEventData eventData)
 {
     base.OnPointerEnterOverride(eventData);
     if (RuntimeTools.SpawnPrefab != null)
     {
         m_treeView.ExternalBeginDrag(eventData.position);
     }
 }
 protected virtual void OnDragEnter(PointerEventData pointerEventData)
 {
     if (IsFilterEmpty)
     {
         m_treeView.ExternalBeginDrag(pointerEventData.position);
     }
     else
     {
         Editor.DragDrop.SetCursor(KnownCursor.DropNotAllowed);
     }
 }
Exemple #4
0
 public override void DragEnter(object[] dragObjects, PointerEventData pointerEventData)
 {
     base.DragEnter(dragObjects, pointerEventData);
     m_treeView.ExternalBeginDrag(pointerEventData.position);
 }
Exemple #5
0
 protected virtual void OnDragEnter(PointerEventData pointerEventData)
 {
     m_treeView.ExternalBeginDrag(pointerEventData.position);
 }