1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 23:50:29 +01:00

Initial commit

This commit is contained in:
Rich Dunne 2021-01-10 08:38:17 -07:00
parent 296206f5b9
commit fd12e1bea2
9 changed files with 1031 additions and 0 deletions

View file

@ -0,0 +1,21 @@
using Rage;
namespace SceneManager.Utils
{
internal static class TogglePaths
{
internal static void Toggle(bool disable)
{
if (disable)
{
PathManager.Paths.ForEach(x => x.DisablePath());
Game.LogTrivial($"All paths disabled.");
}
else
{
PathManager.Paths.ForEach(x => x.EnablePath());
Game.LogTrivial($"All paths enabled.");
}
}
}
}