hellbound/Assets/Sources/Lean/Touch+/Scripts/IDropHandler.cs

10 lines
358 B
C#
Raw Permalink Normal View History

2021-11-26 11:16:25 +03:00
using UnityEngine;
namespace Lean.Touch
{
/// <summary>Any component implementing this interface will make it compatible with LeanSelectableDrop, allowing you to perform a specific action when the current object is dropped on something.</summary>
public interface IDropHandler
{
void HandleDrop(GameObject droppedGameObject, LeanFinger finger);
}
}