Nuclear gun and 3D tests

This commit is contained in:
MaddoScientisto 2025-03-22 00:33:24 +01:00
commit d1d3a3fdd5
34 changed files with 750 additions and 55 deletions

View file

@ -328,15 +328,24 @@ public partial class GameManager : Node2D
case GameState.Playing:
case GameState.Controlling:
//Input.MouseMode = Input.MouseModeEnum.Confined;
GetTree().SetPause(false);
DelayedUnpause();
//CallDeferred(MethodName.DelayedUnpause);
//GetTree().SetPause(false);
break;
case GameState.Menu:
//Input.MouseMode = Input.MouseModeEnum.Visible;
GetTree().SetPause(false);
DelayedUnpause();
//CallDeferred(MethodName.DelayedUnpause);
//GetTree().SetPause(false);
break;
}
}
private void DelayedUnpause()
{
GetTree().SetPause(false);
}
public void ClearBullets()
{
if (_bulletsContainer is null) return;