4. Closing the Application
<< RETURN TO THE PREVIOUS SECTION
Any application needs to be closed at some moment. To close your application as well as to manage its window parameters, controls events, etc. you should use App class.
Notice
To close the application the following code is to be used:
In order to work with App class the UnigineApp.h library must be included.
Source code (C++)
#include <UnigineApp.h>
using namespace Unigine;
/* .. */
// closing the application
App::get()->exit();
Additional information:
- For more information on managing the application via API, see App class page.
Last update: 20.10.2017
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter