Skip to content

Commit

Permalink
Add missing System.Runtime.InteropServices on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Voltstro committed Nov 13, 2024
1 parent a9d9762 commit 255a5c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public static Platform GetRunningPlatform()
#elif UNITY_STANDALONE_LINUX
return Platform.Linux64;
#elif UNITY_STANDALONE_OSX
return RuntimeInformation.ProcessArchitecture == Architecture.Arm64 ? Platform.MacOSArm64 : Platform.MacOS;
return System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture == System.Runtime.InteropServices.Architecture.Arm64 ? Platform.MacOSArm64 : Platform.MacOS;
#endif
}

Expand Down

0 comments on commit 255a5c7

Please sign in to comment.