mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-24 05:35:35 +03:00
IsUnity not used
This commit is contained in:
parent
2d1e529abf
commit
a1ca267d93
@ -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 );
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -53,12 +50,6 @@ public static void ForUnity( string platform )
|
||||
public static bool UseThisCall { get; set; } = SteamNative.Platform.Os == OperatingSystem.Windows;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Should be true if we're using Unity
|
||||
/// </summary>
|
||||
internal static bool IsUnity { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 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
|
||||
|
Loading…
Reference in New Issue
Block a user