Beispiel #1
0
        static Autorun()
        {
            Updater.TryCheckForUpdates();

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