Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Engine Shutdown
This article describes in detail the steps taken by the UNIGINE engine when the Engine::shutdown() function is called. For other steps and general information about execution sequence, see the Execution Sequence article.
Shutdown steps#
- If the editor logic is run, it calls its shutdown() function.
- The world logic calls the shutdown() function.
- UNIGINE calls the shutdown() function of the system logic. Here, for example, you can set a splash screen with credits to be shown when exiting the UNIGINE-based application.
- The shutdown() function of all plugins is called.
- If the user has tweaked any settings, the engine saves changes into the configuration file.
- World, sound, and file system threads are terminated.
- All resources allocated for UNIGINE are freed.
- Memory allocator is shut down.
Last update:
31.07.2020
Помогите сделать статью лучше
(или выберите слово/фразу и нажмите Ctrl+Enter