IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
AllowTeleportWhileAttachedToHand.cs
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 
8 using UnityEngine;
9 
10 namespace Valve.VR.InteractionSystem
11 {
12  //-------------------------------------------------------------------------
13  public class AllowTeleportWhileAttachedToHand : MonoBehaviour
14  {
15  public bool teleportAllowed = true;
16  public bool overrideHoverLock = true;
17  }
18 }