static Autorun() { Updater.TryCheckForUpdates(); #if UNITY_ANDROID AndroidPlugin.UpdateFiles(); #endif }
static void SetLunarConsoleEnabled(bool enabled) { AndroidPlugin.UpdateFiles(enabled); // we need to update plugin files first Editor.SetLunarConsoleEnabled(enabled); // then modify preprocessor's define }