Skip to content

Commit

Permalink
fix: made it possible to run editor while on iOS/Android platform tar…
Browse files Browse the repository at this point in the history
…get (#37)

* Made it possible to run editor while on iOS/Android platform target

* Fixed intents
  • Loading branch information
Codeavr committed Jan 22, 2021
1 parent df2c57d commit b7e3bb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Assets/MediaPipe/SDK/Scripts/PInvoke/SafeNativeMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ namespace Mediapipe {
[SuppressUnmanagedCodeSecurityAttribute]
internal static partial class SafeNativeMethods {
private const string MediaPipeLibrary =
#if UNITY_IOS
#if UNITY_EDITOR
"mediapipe_c";
#elif UNITY_IOS
"__Internal";
#elif UNITY_ANDROID
"mediapipe_jni";
Expand Down
4 changes: 3 additions & 1 deletion Assets/MediaPipe/SDK/Scripts/PInvoke/UnsafeNativeMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ namespace Mediapipe {
[SuppressUnmanagedCodeSecurityAttribute]
internal static partial class UnsafeNativeMethods {
private const string MediaPipeLibrary =
#if UNITY_IOS
#if UNITY_EDITOR
"mediapipe_c";
#elif UNITY_IOS
"__Internal";
#elif UNITY_ANDROID
"mediapipe_jni";
Expand Down

0 comments on commit b7e3bb7

Please sign in to comment.