/// <summary> /// Shows Lunar console on top of everything. Does nothing if platform is not supported or if plugin is not initizlied. /// </summary> public static void Show() { #if LUNAR_CONSOLE_ENABLED if (instance != null) { instance.ShowConsole(); } else { Debug.LogError("Can't show " + Constants.PluginName + ": instance is not initialized. Make sure you've installed it correctly"); } #endif }
/// <summary> /// Shows Lunar console on top of everything. Does nothing if current platform is not supported or if the plugin is not initizlied. /// </summary> public static void Show() { #if LUNAR_CONSOLE_PLATFORM_SUPPORTED #if LUNAR_CONSOLE_ENABLED if (s_instance != null) { s_instance.ShowConsole(); } else { Log.w("Can't show console: instance is not initialized. Make sure you've installed it correctly"); } #else Log.w("Can't show console: plugin is disabled"); #endif #else Log.w("Can't show console: current platform is not supported"); #endif }
/// <summary> /// Shows Lunar console on top of everything. Does nothing if platform is not supported or if plugin is not initizlied. /// </summary> public static void Show() { #if LUNAR_CONSOLE_PLATFORM_SUPPORTED #if LUNAR_CONSOLE_ENABLED if (s_instance != null) { s_instance.ShowConsole(); } else { Debug.LogError("Can't show " + Constants.PluginName + ": instance is not initialized. Make sure you've installed it correctly"); } #else Debug.LogWarning("Can't show " + Constants.PluginName + ": plugin is disabled"); #endif #else Debug.LogWarning("Can't show " + Constants.PluginName + ": current platform is not supported"); #endif }