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