Small fixes ig
This commit is contained in:
@@ -46,8 +46,6 @@ namespace InterfaceOff
|
||||
|
||||
private IEnumerator Load(Action loadAction)
|
||||
{
|
||||
Time.timeScale = 0.2f;
|
||||
|
||||
Vector2 maxSize = new(2000f, 2000f);
|
||||
Vector2 minSize = Vector2.zero;
|
||||
|
||||
@@ -86,8 +84,6 @@ namespace InterfaceOff
|
||||
|
||||
ImageRectOverlay.sizeDelta = minSize;
|
||||
ImageRectOverlay.rotation = Quaternion.Euler(0f, 0f, shrinkRotation);
|
||||
|
||||
Time.timeScale = 1f;
|
||||
}
|
||||
|
||||
public static void ReloadScene() => Instance.StartCoroutine(routine: Instance.Load(() =>
|
||||
|
||||
Reference in New Issue
Block a user