From a1ca267d932afcda0761512ade70e29da272e5cf Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Fri, 20 Jul 2018 12:03:12 +0100 Subject: [PATCH] IsUnity not used --- Facepunch.Steamworks/Config.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Facepunch.Steamworks/Config.cs b/Facepunch.Steamworks/Config.cs index 8bf4f54..93e5dac 100644 --- a/Facepunch.Steamworks/Config.cs +++ b/Facepunch.Steamworks/Config.cs @@ -31,14 +31,11 @@ public static void ForUnity( string platform ) ForcePlatform( OperatingSystem.Linux, IntPtr.Size == 4 ? Architecture.x86 : Architecture.x64 ); } - IsUnity = true; UseThisCall = true; Console.WriteLine( "Facepunch.Steamworks Unity: " + platform ); Console.WriteLine( "Facepunch.Steamworks Os: " + SteamNative.Platform.Os ); Console.WriteLine( "Facepunch.Steamworks Arch: " + SteamNative.Platform.Arch ); - - } /// @@ -53,12 +50,6 @@ public static void ForUnity( string platform ) public static bool UseThisCall { get; set; } = SteamNative.Platform.Os == OperatingSystem.Windows; - /// - /// Should be true if we're using Unity - /// - internal static bool IsUnity { get; set; } - - /// /// You can force the platform to a particular one here. /// This is useful if you're on OSX because some versions of mono don't have a way