Skip to content

Commit ef85951

Browse files
authored
add unity_gamecore for this file
1 parent bdb7edb commit ef85951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/com.unity.inputsystem/InputSystem/Plugins/XR/XRLayoutBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ internal static string OnFindLayoutForDevice(ref InputDeviceDescription descript
8888
{
8989
return null;
9090
}
91-
#if UNITY_INPUT_SYSTEM_ENABLE_XR && ENABLE_VR
91+
#if UNITY_INPUT_SYSTEM_ENABLE_XR && (ENABLE_VR || UNITY_GAMECORE)
9292
if (string.IsNullOrEmpty(matchedLayout))
9393
{
9494
const InputDeviceCharacteristics controllerCharacteristics = InputDeviceCharacteristics.HeldInHand | InputDeviceCharacteristics.Controller;

0 commit comments

Comments
 (0)