This commit is contained in:
陈思海 2025-09-08 11:18:14 +08:00
parent e5546d820e
commit a260ecd94e

View File

@ -17,40 +17,18 @@ internal static class GameAppStaticMemberReset
private static void ResetAllEventContainers() private static void ResetAllEventContainers()
{ {
GameApp._base = null; GameApp._base = null;
#if ALICIZAX_AUDIO_SUPPORT
GameApp._audio = null; GameApp._audio = null;
#endif
#if ALICIZAX_EVENT_SUPPORT
GameApp._event = null;
#endif
#if ALICIZAX_FSM_SUPPORT
GameApp._fsm = null; GameApp._fsm = null;
#endif
#if ALICIZAX_LOCALIZATION_SUPPORT
GameApp._localization = null; GameApp._localization = null;
#endif
#if ALICIZAX_NETWORK #if ALICIZAX_NETWORK
GameApp._network = null; GameApp._network = null;
#endif #endif
GameApp._objectPool = null; GameApp._objectPool = null;
#if ALICIZAX_RESOURCE_SUPPORT
GameApp._resource = null; GameApp._resource = null;
#endif
#if ALICIZAX_SCENE_SUPPORT
GameApp._scene = null; GameApp._scene = null;
#endif
#if ALICIZAX_TIMER_SUPPORT
GameApp._timer = null; GameApp._timer = null;
#endif
#if ALICIZAX_UI_SUPPORT
GameApp._ui = null; GameApp._ui = null;
#endif
} }
} }