using UnityEngine;
using UnityEngine.EventSystems;
namespace Rokid.UXR.Interaction
{
///
/// Triggered when the mouse enters
///
public interface IMouseEnter
{
void OnMouseEnter();
}
///
/// Triggered when the mouse exits
///
public interface IMouseExit
{
void OnMouseExit();
}
///
/// Triggered when mouse drag starts
///
public interface IMouseBeginDrag
{
void OnMouseBeginDrag(PointerEventData eventData);
}
///
/// Triggered when the mouse drag ends
///
public interface IMouseEndDrag
{
void OnMouseEndDrag();
}
///
/// Triggered when mouse dragging
///
public interface IMouseDrag
{
void OnMouseRayDrag(Vector3 delta);
}
///
/// Triggered when mouse hovering
///
public interface IMouseHover
{
void OnMouseHover();
}
///
/// Triggered when the mouse clicks
///
public interface IMouseClick
{
void OnMouseClick();
}
}