SpaceMadness / lunar-unity-console

High-performance Unity iOS/Android logger built with native platform UI
https://www.assetstore.unity3d.com/en/#!/content/43800
Other
833 stars 112 forks source link

Allow the plugin to be toggled from build preprocessors #171

Closed Nezz closed 4 years ago

Nezz commented 4 years ago

You can call LunarConsoleEditorInternal.Installer.SetLunarConsoleEnabled to do so. The toggling will no longer throw an error when we are already in the correct state.

Resolves https://github.com/SpaceMadness/lunar-unity-console/issues/169

weeeBox commented 4 years ago

Thanks! I'll take a look!

p.s. I believe you have signed the Contributor License Agreement (CLA) before, right?

Nezz commented 4 years ago

Yes, this isn't my first rodeo :)

weeeBox commented 4 years ago

Thanks, cowboy! 😂