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;