Beispiel #1
0
 public static SteamContext GetInstance()
 {
     lock (CoreInstanceMutex)
     {
         if (CoreInstance == null)
         {
             CoreInstance = new SteamContext();
         }
         return(CoreInstance);
     }
 }
Beispiel #2
0
 public void Shutdown()
 {
     lock (CoreInstanceMutex)
     {
         if (!Is32Bit())
         {
             Steam4NETProxy.Dispose();
             Steam4NETProxy = null;
         }
         else
         {
             WrappedContext.Shutdown();
         }
         CoreInstance = null;
     }
 }