20 lines
352 B
C#
20 lines
352 B
C#
|
|
using UnityEngine;
|
|||
|
|
using UnityEngine.EventSystems;
|
|||
|
|
using UnityEngine.UI;
|
|||
|
|
using System.Collections;
|
|||
|
|
|
|||
|
|
public class preventClickDrag : ScrollRect
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
public override void OnBeginDrag (PointerEventData eventData)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public override void OnDrag (PointerEventData eventData)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public override void OnEndDrag (PointerEventData eventData)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
}
|