Bring Back Scene View Nebulae

Previous commit broke scene view raymarching, now it's back
This commit is contained in:
Reinier Vens 2022-07-16 23:14:25 +01:00
commit 424010584c
4 changed files with 6 additions and 54 deletions

View file

@ -666,7 +666,6 @@ public class ActionGameManager : MonoBehaviour
if (menu.activeSelf)
{
_paused = false;
VolumeRenderer.EnableDepth = true;
menu.SetActive(false);
UiRoot.SetActive(true);
if (!_menuShown)
@ -679,7 +678,6 @@ public class ActionGameManager : MonoBehaviour
else
{
_paused = true;
VolumeRenderer.EnableDepth = false;
menu.SetActive(true);
UiRoot.SetActive(false);
_menuShown = Menu.gameObject.activeSelf;
@ -1071,7 +1069,6 @@ public class ActionGameManager : MonoBehaviour
var deathTime = Time.time;
UnbindEntity();
CurrentEntity = null;
VolumeRenderer.EnableDepth = false;
MainMenu.gameObject.SetActive(true);
Menu.gameObject.SetActive(false);
CurrentGalaxy = null;