19 lines
597 B
C#
19 lines
597 B
C#
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
//
|
|
// Purpose: Adding this component to an object will allow the player to
|
|
// initiate teleporting while that object is attached to their hand
|
|
//
|
|
//=============================================================================
|
|
|
|
using UnityEngine;
|
|
|
|
namespace Valve.VR.InteractionSystem
|
|
{
|
|
//-------------------------------------------------------------------------
|
|
public class AllowTeleportWhileAttachedToHand : MonoBehaviour
|
|
{
|
|
public bool teleportAllowed = true;
|
|
public bool overrideHoverLock = true;
|
|
}
|
|
}
|