Feature request: onConsoleOpened/onConsoleClosed for editor
Hi, I'd like to be able to subscribe to onConsoleOpened/onConsoleClosed events in editor too. Also, it would be great if CRegistry can be set into ActionsAndVariablesWindow. Thanks.
Hi, @eandropov.
The LunarConsolePlugin.LunarConsole.Show() and LunarConsolePlugin.LunarConsole.Hide() calls would do nothing in the editor mode: no events are generated. Why do you need to subscribe to these events in the first place? I'm also not sure about this one:
if CRegistry can be set into ActionsAndVariablesWindow
Can you clarify?
Thanks,
-Alex
I have:
- some internal value in a model without any change notification subscribes
- CVar in some debug class
- one way link from debug class to a model I want to sync my value with this CVar somehow, for example on console open.
About CRegistry: I use my own log system instead of Debug.Log with Lunar as log view for mobile devices, so lunar singleton prefab does not fit. But i need to use ActionsAndVariablesWindow. So, i put my cregistry into the window in ShowWindow(CRegistry registry) method.