This commit is contained in:
2022-02-26 20:10:51 +03:00
parent 9ccfb47c8d
commit ee54f96c57
2 changed files with 99 additions and 0 deletions

View File

@@ -97,6 +97,8 @@ namespace Level
public void DisableAllLevels()
{
Player.SetActive(false);
currentLevel = null;
foreach (Level level in Levels.Values)
level.Disable();
}