Example #1
0
 public void Initialize()
 {
     if (state == AppSate.Startup)
     {
         instance = this;
         GameSave.Initialize();
         Dependencies.Initialize <StartupExperienceUI>();
         Dependencies.Initialize <NetGame>();
         Dependencies.Initialize <WorkshopRepository>();
         Dependencies.Initialize <RagdollTemplate>();
         Dependencies.Initialize <Game>();
         Dependencies.Initialize <GiftService>();
         Dependencies.OnInitialized(this);
         NetGame.instance.StartLocalGame();
         Options.Load();
         HumanAnalytics.instance.LogVersion(VersionDisplay.fullVersion);
     }
 }