diff --git a/Assets/Scripts/SceneController.cs b/Assets/Scripts/SceneController.cs index 870edbc..6333cd5 100644 --- a/Assets/Scripts/SceneController.cs +++ b/Assets/Scripts/SceneController.cs @@ -61,7 +61,7 @@ namespace InterfaceOff ImageRectOverlay.rotation = Quaternion.Euler( 0f, 0f, Mathf.Lerp(startRotation, expandRotation, t)); - t += Time.unscaledDeltaTime; + t += Time.deltaTime * 2; yield return null; } @@ -69,6 +69,7 @@ namespace InterfaceOff ImageRectOverlay.rotation = Quaternion.Euler(0f, 0f, expandRotation); loadAction?.Invoke(); + yield return new WaitForSeconds(0.2f); t = 0f; @@ -78,7 +79,7 @@ namespace InterfaceOff ImageRectOverlay.rotation = Quaternion.Euler( 0f, 0f, Mathf.Lerp(expandRotation, shrinkRotation, t)); - t += Time.unscaledDeltaTime; + t += Time.deltaTime * 2; yield return null; }