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

Create Hints.cs

This commit is contained in:
Rich 2020-12-06 07:42:08 -07:00 committed by GitHub
parent dac842d8cb
commit e02e9cc447
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
SceneManager/Hints.cs Normal file
View file

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