fr.jeanf.universal.player 0.8.30 → 0.8.31

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.
@@ -74,11 +74,8 @@ namespace jeanf.universalplayer
74
74
  IEnumerator CheckIfPlayerInDestination(GameObject teleportSubject, TeleportInformation teleportInformation)
75
75
  {
76
76
  yield return new WaitForSeconds(1f);
77
- if (teleportSubject.transform.position == teleportInformation.targetDestination.position)
78
- {
79
- FadeEventChannel.RaiseEvent(false, 1.0f);
80
- FadeMask.TogglePPE.Invoke(true);
81
- }
77
+ FadeEventChannel.RaiseEvent(false, 1.0f);
78
+ FadeMask.TogglePPE.Invoke(true);
82
79
 
83
80
  }
84
81
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fr.jeanf.universal.player",
3
3
 
4
- "version": "0.8.30",
4
+ "version": "0.8.31",
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",