Skip to content

Commit ee79acd

Browse files
committed
forceModuleActive is now deprecated
1 parent a319170 commit ee79acd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Assets/MRTK/Tests/TestUtilities/PlayModeTestUtilities.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ public static void EnsureInputModule()
220220
{
221221
CameraCache.Main.gameObject.AddComponent<MixedRealityInputModule>();
222222
}
223+
224+
#if !UNITY_2021_1_OR_NEWER
223225
inputModule.forceModuleActive = true;
226+
#endif // !UNITY_2021_1_OR_NEWER
224227
}
225228
}
226229

0 commit comments

Comments
 (0)