Skip to content

Commit 98e98ea

Browse files
author
lawwong
committed
Fix compatibility with older Unity
1 parent f3d9731 commit 98e98ea

File tree

1 file changed

+2
-0
lines changed
  • Assets/HTC.UnityPlugin/ViveInputUtility/Scripts/Editor/VRPlatformSettings

1 file changed

+2
-0
lines changed

Assets/HTC.UnityPlugin/ViveInputUtility/Scripts/Editor/VRPlatformSettings/WaveVRSettings.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ public void OnPreprocessBuild(BuildReport report)
505505
#endif
506506
}
507507

508+
#if UNITY_2018_1_OR_NEWER
508509
[Serializable]
509510
private class UPMMenifestInfo
510511
{
@@ -559,5 +560,6 @@ private static bool CheckScopeExists(List<string> scopes)
559560

560561
return false;
561562
}
563+
#endif
562564
}
563565
}

0 commit comments

Comments
 (0)