Assets/Scripts/VitrivrVR/Interaction/System/EventInteractable.cs
/// <summary>
/// Event that is triggered on grab.
/// </summary>
/// <param name="interactor">Interactor in control of grab.</param>
/// <param name="start">If interactable is being grabbed or let go.</param>
Event that is triggered on grab.
Event that is triggered on grab .
public override void OnGrab(Transform interactor, bool start)
    {
      if (start)
      {
        onGrab.Invoke();
      }
      else
      {
        onDrop.Invoke();
      }
    }
public override void OnGrab ( Transform interactor , bool start ) { if ( start ) { onGrab . Invoke ( ) ; } else { onDrop . Invoke ( ) ; } }
Event that is triggered on grab.
Event that is triggered on grab .
interactor
Transform
Interactor in control of grab.
Interactor in control of grab .
start
bool
If interactable is being grabbed or let go.
If interactable is being grabbed or let go .