mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
GameApp Shutdown
This commit is contained in:
@@ -266,7 +266,7 @@ namespace TEngine
|
||||
{
|
||||
if (_behaviour != null)
|
||||
{
|
||||
_behaviour.Release();
|
||||
_behaviour.Shutdown();
|
||||
}
|
||||
if (_entity != null)
|
||||
{
|
||||
@@ -392,8 +392,9 @@ namespace TEngine
|
||||
OnApplicationPauseEvent -= fun;
|
||||
}
|
||||
|
||||
public void Release()
|
||||
internal void Shutdown()
|
||||
{
|
||||
DestroyEvent?.Invoke();
|
||||
UpdateEvent = null;
|
||||
FixedUpdateEvent = null;
|
||||
LateUpdateEvent = null;
|
||||
|
Reference in New Issue
Block a user