Skip to content
Snippets Groups Projects
Commit bb7901b9 authored by Martin Finkel's avatar Martin Finkel Committed by Martin Finkel
Browse files

Fix error when running scenes in Unity Editor on Windows

When the Editor is configured to target Android devices, users can
still run scenes within the Unity Editor, which runs on Windows.

Close #240
parent b8620bf4
No related branches found
No related tags found
1 merge request!113Fix error when running scenes in Unity Editor on Windows
......@@ -6,7 +6,7 @@ namespace LibVLCSharp
{
class OnLoad
{
#if UNITY_ANDROID || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX
#if !UNITY_EDITOR_WIN && (UNITY_ANDROID || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX)
const string UnityPlugin = "libVLCUnityPlugin";
#elif UNITY_IOS
const string UnityPlugin = "@rpath/VLCUnityPlugin.framework/VLCUnityPlugin";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment