Skip to content

Commit 71fecc2

Browse files
author
lawwong
committed
Remove compile error when SteamVR plugin not installed
1 parent 1c4cd9b commit 71fecc2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Assets/HTC.UnityPlugin/ViveInputUtility/Scripts/Misc/ExternalCameraHook.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public class ExternalCameraHook : SingletonBehaviour<ExternalCameraHook>, INewPo
2222

2323
private bool m_quadViewSwitch = false;
2424
private bool m_configInterfaceSwitch = true;
25+
private GameObject m_configUI = null;
2526

2627
public ViveRoleProperty viveRole { get { return m_viveRole; } }
2728

@@ -103,8 +104,6 @@ private void OnValidate()
103104
private SteamVR_ExternalCamera m_externalCamera;
104105
private Pose m_staticExCamPose = Pose.identity;
105106

106-
private GameObject m_configUI;
107-
108107
public string configPath
109108
{
110109
get

0 commit comments

Comments
 (0)