public void SetCurrentMode(string gameModeName) { if (!GameModes.TryParse(gameModeName, true, out GameModes newGameMode)) { return; } SetCurrentMode(newGameMode); }
public void SetCurrentMode(string gameModeName) { if (!GameModes.TryParse(gameModeName, true, out GameModes newGameMode)) { return; } SetCurrentMode(newGameMode); }