Skip to content

Commit 664c3e9

Browse files
author
David Kline
authored
Merge pull request #9332 from davidkline-ms/examplesAsmRefs
enable handphysics asm on any platform
2 parents 4a577ba + b14fd13 commit 664c3e9

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

Assets/MRTK/Extensions/HandPhysicsService/HandPhysicsService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.MixedReality.Toolkit.Extensions.HandPhysics
1313
/// A simple service that creates KinematicRigidbodies on fingertips for physics interactions.
1414
/// </summary>
1515
[MixedRealityExtensionService(
16-
SupportedPlatforms.WindowsUniversal,
16+
(SupportedPlatforms)(-1),
1717
"Hand Physics Service",
1818
"HandPhysicsService/Profiles/DefaultHandPhysicsServiceProfile.asset",
1919
"MixedRealityToolkit.Extensions",

Assets/MRTK/Extensions/HandPhysicsService/MRTK.HandPhysics.asmdef

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,12 @@
44
"Microsoft.MixedReality.Toolkit",
55
"Unity.TextMeshPro"
66
],
7-
"includePlatforms": [
8-
"Android",
9-
"Editor",
10-
"WSA"
11-
],
7+
"optionalUnityReferences": [],
8+
"includePlatforms": [],
129
"excludePlatforms": [],
1310
"allowUnsafeCode": false,
1411
"overrideReferences": false,
1512
"precompiledReferences": [],
1613
"autoReferenced": true,
17-
"defineConstraints": [],
18-
"versionDefines": [],
19-
"noEngineReferences": false
14+
"defineConstraints": []
2015
}

Assets/MRTK/Extensions/HandPhysicsService/Profiles/HandPhysicsMixedRealityRegisteredServiceProvidersProfile.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ MonoBehaviour:
1919
Microsoft.MixedReality.Toolkit.Extensions.HandPhysics
2020
componentName: HandPhysicsService
2121
priority: 10
22-
runtimePlatform: 1272
22+
runtimePlatform: -1
2323
configurationProfile: {fileID: 11400000, guid: 236baf35803f73342b69c842fe4afb1c,
2424
type: 2}

0 commit comments

Comments
 (0)