[Windows] Exit to Desktop behavior

Leaufai

  • Posts: 327
I just released a scene behavior called ExitToDesktop on StencylForge.  It runs custom code that will exit to the desktop (Windows only). You can exit to desktop through pressing a control (like the escape key) or by trigger an event from another behavior (useful for buttons). Realized that it was quite essential to my Windows game, so I thought it'd make sense if I made it public since nearly all desktop games will have need for this.

Released into the public domain. If you have questions, suggestions, critiques, etc. please comment here (or PM me).