Skip to content

Commit 1098bb1

Browse files
committed
Fix package validation errors
1 parent be40abc commit 1098bb1

File tree

2 files changed

+95
-1
lines changed

2 files changed

+95
-1
lines changed

Packages/com.unity.inputsystem/DocCodeSamples.Tests/DocCodeSamples.asmdef

Lines changed: 92 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,97 @@
1313
"precompiledReferences": [],
1414
"autoReferenced": false,
1515
"defineConstraints": [],
16-
"versionDefines": [],
16+
"versionDefines": [
17+
{
18+
"name": "com.unity.xr.oculus",
19+
"expression": "1.0.3",
20+
"define": "DISABLE_BUILTIN_INPUT_SYSTEM_OCULUS"
21+
},
22+
{
23+
"name": "com.unity.xr.googlevr",
24+
"expression": "1.0.0",
25+
"define": "DISABLE_BUILTIN_INPUT_SYSTEM_GOOGLEVR"
26+
},
27+
{
28+
"name": "com.unity.xr.openvr",
29+
"expression": "1.0.0",
30+
"define": "DISABLE_BUILTIN_INPUT_SYSTEM_OPENVR"
31+
},
32+
{
33+
"name": "com.unity.xr.windowsmr",
34+
"expression": "2.0.3",
35+
"define": "DISABLE_BUILTIN_INPUT_SYSTEM_WINDOWSMR"
36+
},
37+
{
38+
"name": "com.unity.modules.vr",
39+
"expression": "1.0.0",
40+
"define": "UNITY_INPUT_SYSTEM_ENABLE_VR"
41+
},
42+
{
43+
"name": "com.unity.modules.xr",
44+
"expression": "1.0.0",
45+
"define": "UNITY_INPUT_SYSTEM_ENABLE_XR"
46+
},
47+
{
48+
"name": "com.unity.modules.physics",
49+
"expression": "1.0.0",
50+
"define": "UNITY_INPUT_SYSTEM_ENABLE_PHYSICS"
51+
},
52+
{
53+
"name": "com.unity.modules.physics2d",
54+
"expression": "1.0.0",
55+
"define": "UNITY_INPUT_SYSTEM_ENABLE_PHYSICS2D"
56+
},
57+
{
58+
"name": "com.unity.ugui",
59+
"expression": "1.0.0",
60+
"define": "UNITY_INPUT_SYSTEM_ENABLE_UI"
61+
},
62+
{
63+
"name": "Unity",
64+
"expression": "[2021.3.11,2022.1)",
65+
"define": "HAS_SET_LOCAL_POSITION_AND_ROTATION"
66+
},
67+
{
68+
"name": "Unity",
69+
"expression": "[2022.1.19,2022.2)",
70+
"define": "HAS_SET_LOCAL_POSITION_AND_ROTATION"
71+
},
72+
{
73+
"name": "Unity",
74+
"expression": "2022.2",
75+
"define": "HAS_SET_LOCAL_POSITION_AND_ROTATION"
76+
},
77+
{
78+
"name": "Unity",
79+
"expression": "2022.3",
80+
"define": "UNITY_INPUT_SYSTEM_PROJECT_WIDE_ACTIONS"
81+
},
82+
{
83+
"name": "Unity",
84+
"expression": "1",
85+
"define": "UNITY_INPUT_SYSTEM_INPUT_ACTIONS_EDITOR_AUTO_SAVE_ON_FOCUS_LOST"
86+
},
87+
{
88+
"name": "Unity",
89+
"expression": "6000.0.9",
90+
"define": "UNITY_INPUT_SYSTEM_PLATFORM_SCROLL_DELTA"
91+
},
92+
{
93+
"name": "Unity",
94+
"expression": "6000.0.11",
95+
"define": "UNITY_INPUT_SYSTEM_INPUT_MODULE_SCROLL_DELTA"
96+
},
97+
{
98+
"name": "Unity",
99+
"expression": "6000.0.15",
100+
"define": "UNITY_INPUT_SYSTEM_SENDPOINTERHOVERTOPARENT"
101+
},
102+
{
103+
"name": "com.unity.modules.unityanalytics",
104+
"expression": "1",
105+
"define": "UNITY_INPUT_SYSTEM_ENABLE_ANALYTICS"
106+
}
107+
],
17108
"noEngineReferences": false
18109
}

Packages/com.unity.inputsystem/DocCodeSamples.Tests/InputSystemUIInputModuleAssignActionsExample.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#if UNITY_INPUT_SYSTEM_ENABLE_UI
2+
13
using UnityEngine;
24
using UnityEngine.InputSystem.UI;
35

@@ -37,3 +39,4 @@ void OnDestroy()
3739
}
3840
}
3941
}
42+
#endif

0 commit comments

Comments
 (0)