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

Created new Hints class. Implemented Hints.Display method. Added option to SettingsMenu to enable/disable hints in-game.

This commit is contained in:
Rich Dunne 2020-08-26 19:16:28 -06:00
parent e7f40c9624
commit a7fd140e1f
5 changed files with 37 additions and 16 deletions

17
SceneManager/Hints.cs Normal file
View file

@ -0,0 +1,17 @@
using Rage;
namespace SceneManager
{
class Hints
{
public static bool Enabled { get; set; } = SettingsMenu.hints.Checked;
public static void Display(string message)
{
if (Enabled)
{
Game.DisplayNotification($"{message}");
}
}
}
}