Answer the question
In order to leave comments, you need to log in
EventSystem, what should I write in OnDrag for dragging?
using UnityEngine;
using UnityEngine.EventSystems;
public class DragDrop : MonoBehaviour, IDragHandler
{
public void OnDrag(PointerEventData eventData) {
// Вот тут...
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question