fr.jeanf.universal.player 0.8.13 → 0.8.15

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.
@@ -26,7 +26,7 @@ namespace jeanf.universalplayer
26
26
  public void Teleport(TeleportInformation teleportInformation)
27
27
  {
28
28
  FadeMask.TogglePPE.Invoke(false);
29
- FadeEventChannel?.RaiseEvent(false, 1.0f);
29
+ FadeEventChannel?.RaiseEvent(true, 1.0f);
30
30
  if (teleportInformation.isUsingFilter)
31
31
  {
32
32
  if (!listOfFilters.Contains(teleportInformation.filter))
@@ -67,7 +67,7 @@ namespace jeanf.universalplayer
67
67
 
68
68
  if ( teleportInformation.objectIsPlayer ) cameraResetChannel.RaiseEvent();
69
69
  if (_isDebug) Debug.Log( $"[{teleportInformation.targetDestination.gameObject.name}] teleported {teleportSubject.gameObject.name} to {teleportInformation.targetDestination.transform.position} with rotation: {teleportInformation.targetDestination.transform.rotation.eulerAngles}");
70
- //FadeEventChannel?.RaiseEvent(true, 4.0f);
70
+ FadeEventChannel?.RaiseEvent(false, 1.0f);
71
71
 
72
72
  }
73
73
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fr.jeanf.universal.player",
3
3
 
4
- "version": "0.8.13",
4
+ "version": "0.8.15",
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",