From 5494e752d88213332c0fadfbdca122c074eec0b1 Mon Sep 17 00:00:00 2001 From: Chris Gregan Date: Fri, 29 Apr 2016 21:32:46 +0100 Subject: [PATCH] Fixed compile error on Webplayer platform --- Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaEnvironment.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaEnvironment.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaEnvironment.cs index 12866b54..18502475 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaEnvironment.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaEnvironment.cs @@ -103,7 +103,7 @@ namespace Fungus /// /// Launches the remote Lua debugger in your browser and breaks execution at the first executed Lua command. /// - [Tooltip("Launches the remote Lua debugger in your browser and breaks execution at the first executed Lua command.")] + [Tooltip("Launches the remote Lua debugger in your browser and breaks execution at the first executed Lua command. Standalone platform only.")] public bool remoteDebugger = false; /// @@ -344,6 +344,7 @@ namespace Fungus protected virtual void ActivateRemoteDebugger(Script script) { + #if UNITY_STANDALONE if (remoteDebuggerService == null) { remoteDebuggerService = new RemoteDebuggerService(); @@ -356,6 +357,7 @@ namespace Fungus // start the web-browser at the correct url. Replace this or just // pass the url to the user in some way. Process.Start(remoteDebuggerService.HttpUrlStringLocalHost); + #endif } ///