2025-09-01 15:04:15 +02:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
public interface ITouchInputConsumer
|
|
|
|
|
|
{
|
2025-09-05 14:10:42 +02:00
|
|
|
|
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);
|
2025-09-01 15:04:15 +02:00
|
|
|
|
}
|