mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-12 08:00:30 +01:00
Create Hints.cs
This commit is contained in:
parent
dac842d8cb
commit
e02e9cc447
1 changed files with 17 additions and 0 deletions
17
SceneManager/Hints.cs
Normal file
17
SceneManager/Hints.cs
Normal 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}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue