A tiny partial helper for an action graph. It defines a node that returns the current GameMode singleton by referencing GameMode.Instance.
namespace KOTH;
partial class ActionGraphHelpers
{
[ActionGraphNode("gamemode")]
public static GameMode GetGameMode => GameMode.Instance;
}