Skip to content

Commit

Permalink
fix(Interaction): add dependencies for interact use
Browse files Browse the repository at this point in the history
The `RequiredComponent` helper has been added to the Interact Use
script to ensure Interact Touch and Controller Events are also added
when this script is added.
  • Loading branch information
thestonefox committed Jul 16, 2016
1 parent 74f8a09 commit d6b7509
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/SteamVR_Unity_Toolkit/Scripts/VRTK_InteractUse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ namespace VRTK
using UnityEngine;
using System.Collections;

[RequireComponent(typeof(VRTK_InteractTouch)), RequireComponent(typeof(VRTK_ControllerEvents))]
public class VRTK_InteractUse : MonoBehaviour
{
public bool hideControllerOnUse = false;
Expand Down

0 comments on commit d6b7509

Please sign in to comment.