public override void InitializeSystems() { InitializeComponent(); base.InitializeSystems(); LooseMessages.Ping.Subscribe <string>(this, (message) => { Console.WriteLine(message); }); LooseMessages.Ping.Signal("Hello, World!"); SplashTasks.Add(async() => { await Task.Delay(5000); }); }
public override void InitializeSystems() { InitializeComponent(); base.InitializeSystems(); SplashTasks.Add(SettingsSystem.Instance.InitializeAsync); }