26 lines
535 B
C#
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
|
|
}
|
|
}
|