Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
598 B

  1. //======= Copyright (c) Valve Corporation, All rights reserved. ===============
  2. //
  3. // Purpose: Adding this component to an object will allow the player to
  4. // initiate teleporting while that object is attached to their hand
  5. //
  6. //=============================================================================
  7. using UnityEngine;
  8. namespace Valve.VR.InteractionSystem
  9. {
  10. //-------------------------------------------------------------------------
  11. public class AllowTeleportWhileAttachedToHand : MonoBehaviour
  12. {
  13. public bool teleportAllowed = true;
  14. public bool overrideHoverLock = true;
  15. }
  16. }