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