Class Leap::Unity::Interaction::Examples::HideInteractionHandWhenControllerMoving

class Leap.Unity.Interaction.Examples.HideInteractionHandWhenControllerMoving : public MonoBehaviour

This simple example script disables the InteractionHand script and has event outputs to drive hiding Leap hand renderers when it detects that an InteractionXRController is tracked and moving (e.g. it has been picked up).

It also does some basic checks with hand distance so that you can see your hands when you put the controller down and you hide the hands when they’re obviously holding the controller (e.g. tracked as very close to the controller).