IgnoreHovering.cs 528 B

1234567891011121314151617
  1. //======= Copyright (c) Valve Corporation, All rights reserved. ===============
  2. //
  3. // Purpose: Makes this object ignore any hovering by the hands
  4. //
  5. //=============================================================================
  6. using UnityEngine;
  7. namespace Valve.VR.InteractionSystem
  8. {
  9. //-------------------------------------------------------------------------
  10. public class IgnoreHovering : MonoBehaviour
  11. {
  12. [Tooltip( "If Hand is not null, only ignore the specified hand" )]
  13. public Hand onlyIgnoreHand = null;
  14. }
  15. }