Skip to content

Commit

Permalink
removed burst compatibility temporary to avoid compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrys committed Apr 15, 2024
1 parent d03968b commit c5f56d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Runtime/Scripts/XRMasterHandSkeletonDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
using UnityEngine.InputSystem;
using UnityEngine.XR.Hands;
#if BURST_PRESENT
using Unity.Burst;
[BurstCompile]
//using Unity.Burst;
//[BurstCompile] not suported yet for XRMasterHands package
#endif
public class XRMasterHandSkeletonDriver : MonoBehaviour, ISerializationCallbackReceiver
{
Expand Down Expand Up @@ -243,7 +243,7 @@ protected void UpdateJointLocalPoses(XRHandJointsUpdatedEventArgs args)
}

#if BURST_PRESENT && UNITY_2022_1_OR_NEWER
[BurstCompile]
//[BurstCompile] not suported yet for XRMasterHands package
#endif
static void CalculateJointTransformLocalPoses(in XRHand hand, ref NativeArray<Pose> jointLocalPoses)
{
Expand Down Expand Up @@ -277,7 +277,7 @@ static void CalculateJointTransformLocalPoses(in XRHand hand, ref NativeArray<Po
}

#if BURST_PRESENT
[BurstCompile]
//[BurstCompile] not suported yet for XRMasterHands package
#endif
static void CalculateLocalTransformPose(in Pose parentPose, in Pose jointPose, out Pose jointLocalPose)
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.squirrelbytes.xrmasterhands",
"version": "0.1.0",
"version": "0.1.2",
"displayName": "XR Master Hands",
"description": "Framework for simplifying the usage of XR Hands by automagically creating a special XR Device which implements designed hand poses as buttons for using with the unity's Input System Package",
"unity": "2022.3",
Expand Down

0 comments on commit c5f56d2

Please sign in to comment.