Tanoda
IThrowHandler.cs
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) Ultraleap, Inc. 2011-2020. *
3 * *
4 * Use subject to the terms of the Apache License 2.0 available at *
5 * http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6 * between Ultraleap and you, your company or other organization. *
7 ******************************************************************************/
8
9using UnityEngine;
10
11namespace Leap.Unity.Interaction {
12
19 public interface IThrowHandler {
20
29
35
36 }
37
38}
InteractionBehaviours are components that enable GameObjects to interact with interaction controllers...
Interaction objects feed their throw handlers callbacks when they are held (for data collection) and ...
void OnThrow(InteractionBehaviour intObj, InteractionController controller)
Called when an Interaction object is released by the last interaction controller holding it.
void OnHold(InteractionBehaviour intObj, ReadonlyList< InteractionController > controllers)
Called every FixedUpdate frame while an interaction object is being held.
A simple wrapper around List to provide readonly access. Useful when you want to return a list to som...
Definition: ReadonlyList.cs:20