-
-
Notifications
You must be signed in to change notification settings - Fork 119
Enabling and Disabling Lunar Mobile Console
Alexandr Korsak edited this page Apr 2, 2020
·
8 revisions
You can enable/disable the plugin in Unity editor or from the command line.
- To disable:
Window ▶ Lunar Mobile Console ▶ Disable - To enable:
Window ▶ Lunar Mobile Console ▶ Enable
- To disable:
<UNITY_BIN_PATH> -quit -batchmode -executeMethod LunarConsoleEditorInternal.Installer.DisablePlugin
- To enable:
<UNITY_BIN_PATH> -quit -batchmode -executeMethod LunarConsoleEditorInternal.Installer.EnablePlugin
<UNITY_BIN_PATH>
locations:
- Mac OS X:
/Applications/Unity/Unity.app/Contents/MacOS/Unity
- Windows:
c:\Program Files\Unity\Editor\Unity.exe
- Linux: TBD
// TBD: check Assets/LunarConsole/Editor/Automation
directory
- If enabled: the plugin source files would be injected into the generated Xcode project on a post build step.
- If disabled: the generated Xcode project would remain unchanged.
Important: make sure to "replace" your generated Xcode project whenever you switch the plugin from enabled to disabled (or back). Failing to do so may lead to an unexpected result!
Working with Android is a bit tricky since Unity does not generate any intermediate projects (or at least no one uses this option). Toggling between enabled and disabled state will modify the import settings of Assets/LunarConsole/Editor/Android/lunar-console.aar
file.
- If enabled: the AAR file would be included into the final APK.
- If disabled: the AAR file would be excluded from the final APK.