Skip to content

Commit 8b92c12

Browse files
committed
Mark code only for SteamVR Input System
1 parent f492e5e commit 8b92c12

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/HTC.UnityPlugin/ViveInputUtility/Scripts/Editor/VIUSettingsEditor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,7 @@ private static void OnVIUPreferenceGUI()
870870
VRModuleManagerEditor.UpdateScriptingDefineSymbols();
871871
}
872872

873+
#if VIU_STEAMVR_2_0_0_OR_NEWER
873874
if (false && GUILayout.Button("Create Partial Action Set", GUILayout.ExpandWidth(false)))
874875
{
875876
var actionFile = new SteamVRExtension.VIUSteamVRActionFile()
@@ -959,6 +960,7 @@ private static void OnVIUPreferenceGUI()
959960

960961
actionFile.Save();
961962
}
963+
#endif
962964

963965
EditorGUILayout.EndScrollView();
964966
}

0 commit comments

Comments
 (0)