Wes xx mediapipe integration
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user