Customizing Window Close Behavior in Stride? #2399
-
I'm looking to customize the window behavior of my application. Specifically, I want to: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Have you considered inheriting the Game class and writing your own destructor/Dispose logic? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
So I've looked into this and below are my findings after some testing.
If it helps any, the way I found it most comfortable for me is that you open the
MyGameApp.cs
(your app's name and usually with the name ending in .Windows or .Linux or whatever platform you're building for) then you modify it with something along the lines: