Closed brogan89 closed 5 months ago
Thank you! I've removed the XML comments because the member names were explanatory enough and added an actual null check before the event invocation because Unity 5.6 doesn't support the ?.Invoke
syntax (I'm still supporting that version 🙃).
BTW, in the next release, I'll remove all commands except help
from the plugin. You're right that the built-in commands should be opt-in, not opt-out.
Sounds good! Thanks
I needed a way to remove all commands that I've added as my users were using
scene.load
etc and wasn't working with my custom scene management. I couldn't find a way to loop over all the commands that didn't require reflection.The delegate I added was mainly to log to console any command that had run so when I got bug reports in Sentry I could see what they were trying to do.
Below is an example use case for these features.