예제 #1
0
 public void OnEndDrag(PointerEventData eventData)
 {
     if (((RectTransform)_originalParent.transform.parent).rect.Contains(_rect.anchoredPosition))
     {
         Injecting();
     }
     else
     {
         Ejecting?.Invoke();
         Destroy(_oldPlase.gameObject);
     }
 }
예제 #2
0
 private void Eject()
 {
     Ejecting?.Invoke();
 }