namespace Passer.Humanoid {
///
/// Interface for handling grabbing events on objects
///
/// This interface can be used to receive grabbing events on grabbable objects
/// If you implement this interface on a script which is connected to the grabbable object
/// the On.. functions are called at the appropriate times.
/// This enables you to implement behaviour on the object when it is grabbed or let go.
public interface IHandGrabEvents {
///
/// Function is called when the object is grabbed
///
/// The hand which grabbed the object
void OnHandGrabbed(HandTarget handTarget);
///
/// Function is called when the object is let go
///
/// The hand which let go the object
void OnHandLetGo(HandTarget handTarget);
}
}