Files
unity-application/Packages/com.github.homuler.mediapipe/Runtime/Scripts/PInvoke/SafeNativeMethods.cs
2023-03-12 20:34:16 +00:00

26 lines
535 B
C#

// Copyright (c) 2021 homuler
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
using System.Security;
namespace Mediapipe
{
[SuppressUnmanagedCodeSecurity]
internal static partial class SafeNativeMethods
{
internal const string MediaPipeLibrary =
#if UNITY_EDITOR
"mediapipe_c";
#elif UNITY_IOS || UNITY_WEBGL
"__Internal";
#elif UNITY_ANDROID
"mediapipe_jni";
#else
"mediapipe_c";
#endif
}
}