From 9378f17be819a0e7127d67a9bcec3ce4aad7a517 Mon Sep 17 00:00:00 2001 From: Christopher Date: Wed, 19 Oct 2016 15:33:36 +0100 Subject: [PATCH] Fixed MoonSharp warning when not building for an AOT platform --- .../MoonSharp/Interpreter/Platforms/PlatformAutoDetector.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/MoonSharp/Interpreter/Platforms/PlatformAutoDetector.cs b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/MoonSharp/Interpreter/Platforms/PlatformAutoDetector.cs index b1765517..7d00da33 100755 --- a/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/MoonSharp/Interpreter/Platforms/PlatformAutoDetector.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Thirdparty/MoonSharp/Interpreter/Platforms/PlatformAutoDetector.cs @@ -10,7 +10,10 @@ namespace MoonSharp.Interpreter.Platforms /// public static class PlatformAutoDetector { +#if UNITY_WEBGL || UNITY_IOS || UNITY_TVOS || ENABLE_IL2CPP +#else private static bool? m_IsRunningOnAOT = null; +#endif private static bool m_AutoDetectionsDone = false;