fr.jeanf.universal.player 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,11 +12,13 @@ public class HandVibration : MonoBehaviour
12
12
  [SerializeField] StringEventChannelSO hapticFeedbackOnSpecificHandSO;
13
13
  public delegate void VibrateHandDelegate(string hand, float amplitude, float duration);
14
14
 
15
- public VibrateHandDelegate VibrateHand;
15
+ public static VibrateHandDelegate VibrateHand;
16
16
  private void OnEnable()
17
17
  {
18
18
  hapticFeedbackOnSpecificHandSO.OnEventRaised += TriggerHapticFeedback;
19
19
  VibrateHand += TriggerHapticFeedback;
20
+
21
+ HandVibration.v
20
22
  }
21
23
 
22
24
  private void OnDisable()
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fr.jeanf.universal.player",
3
3
 
4
- "version": "0.7.4",
4
+ "version": "0.7.5",
5
5
 
6
6
  "displayName": "Universal Player",
7
7
  "description": "This package contains a universal player working in URP & HDRP for Mouse+Keyboard or VR",
@@ -49,4 +49,4 @@
49
49
  "path": "Samples/Hands"
50
50
  }
51
51
  ]
52
- }
52
+ }