add ckg
plantilla base para movimiento básico
This commit is contained in:
20
Assets/Game Kit Controller/Scripts/Menu/preventClickDrag.cs
Normal file
20
Assets/Game Kit Controller/Scripts/Menu/preventClickDrag.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user