fr.jeanf.universal.player 0.8.31 → 0.8.32
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.
|
@@ -67,16 +67,16 @@ 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
|
-
StartCoroutine(CheckIfPlayerInDestination(teleportSubject, teleportInformation));
|
|
70
|
+
//StartCoroutine(CheckIfPlayerInDestination(teleportSubject, teleportInformation));
|
|
71
71
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
IEnumerator CheckIfPlayerInDestination(GameObject teleportSubject, TeleportInformation teleportInformation)
|
|
75
|
-
{
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
//IEnumerator CheckIfPlayerInDestination(GameObject teleportSubject, TeleportInformation teleportInformation)
|
|
75
|
+
//{
|
|
76
|
+
// yield return new WaitForSeconds(1f);
|
|
77
|
+
// FadeEventChannel.RaiseEvent(false, 1.0f);
|
|
78
|
+
// FadeMask.TogglePPE.Invoke(true);
|
|
79
79
|
|
|
80
|
-
}
|
|
80
|
+
//}
|
|
81
81
|
}
|
|
82
82
|
}
|