13 lines
324 B
C#
13 lines
324 B
C#
using UnityEngine;
|
|
|
|
public interface ITouchInputConsumer
|
|
{
|
|
void OnTap(Vector2 position);
|
|
void OnDragStart(Vector2 position);
|
|
void OnDrag(Vector2 position);
|
|
void OnDragEnd(Vector2 position);
|
|
void OnHoldStart(Vector2 position);
|
|
void OnHold(Vector2 position);
|
|
void OnHoldEnd(Vector2 position);
|
|
}
|