public override void PreInit() { IoCManager.InjectDependencies(this); // Default to en-US. Loc.LoadCulture(_resourceManager, new CultureInfo(Culture)); }
public override void PreInit() { IoCManager.InjectDependencies(this); _textMacroFactory.DoAutoRegistrations(); // Default to en-US. Loc.LoadCulture(_resourceManager, _textMacroFactory, new CultureInfo(Culture)); }
public override void PreInit() { IoCManager.InjectDependencies(this); var textMacroFactory = IoCManager.Resolve <ITextMacroFactory>(); textMacroFactory.DoAutoRegistrations(); // Default to en-US. Loc.LoadCulture(new CultureInfo(Culture)); }
public override void PreInit() { IoCManager.InjectDependencies(this); var textMacroFactory = IoCManager.Resolve <ITextMacroFactory>(); textMacroFactory.DoAutoRegistrations(); // Default to en-US. // DEVNOTE: If you want your game to be multiregional at runtime, you'll need to // do something more complicated here. Loc.LoadCulture(new CultureInfo(Culture)); // TODO: Document what else you might want to put here }