Tanoda
OnDraggedCancel.cs
Go to the documentation of this file.
1using System.Collections;
2using System.Collections.Generic;
3using GILES.Interface;
4using UnityEngine;
5using UnityEngine.UI;
6
7public class OnDraggedCancel : MonoBehaviour
8{
9 void OnSimpleDragAndDropEvent(DragAndDropCell.DropEventDescriptor desc)
10 {
11 desc.permission = false;
12 }
13}
Every item's cell must contain this script