modify
This commit is contained in:
parent
3db8dcc47b
commit
fb41a9a486
@ -27,6 +27,46 @@
|
||||
"name": "com.alicizax.unity.network",
|
||||
"expression": "",
|
||||
"define": "ALICIZAX_NETWORK"
|
||||
},
|
||||
{
|
||||
"name": "com.alicizax.unity.event",
|
||||
"expression": "",
|
||||
"define": "ALICIZAX_EVENT_SUPPORT"
|
||||
},
|
||||
{
|
||||
"name": "com.alicizax.unity.audio",
|
||||
"expression": "",
|
||||
"define": "ALICIZAX_AUDIO_SUPPORT"
|
||||
},
|
||||
{
|
||||
"name": "com.alicizax.unity.fsm",
|
||||
"expression": "",
|
||||
"define": "ALICIZAX_FSM_SUPPORT"
|
||||
},
|
||||
{
|
||||
"name": "com.alicizax.unity.localization",
|
||||
"expression": "",
|
||||
"define": "ALICIZAX_LOCALIZATION_SUPPORT"
|
||||
},
|
||||
{
|
||||
"name": "com.alicizax.unity.resource",
|
||||
"expression": "",
|
||||
"define": "ALICIZAX_RESOURCE_SUPPORT"
|
||||
},
|
||||
{
|
||||
"name": "com.alicizax.unity.scene",
|
||||
"expression": "",
|
||||
"define": "ALICIZAX_SCENE_SUPPORT"
|
||||
},
|
||||
{
|
||||
"name": "com.alicizax.unity.timer",
|
||||
"expression": "",
|
||||
"define": "ALICIZAX_TIMER_SUPPORT"
|
||||
},
|
||||
{
|
||||
"name": "com.alicizax.unity.ui",
|
||||
"expression": "",
|
||||
"define": "ALICIZAX_UI_SUPPORT"
|
||||
}
|
||||
],
|
||||
"noEngineReferences": false
|
||||
|
@ -1,4 +1,5 @@
|
||||
using AlicizaX;
|
||||
#if ALICIZAX_AUDIO_SUPPORT
|
||||
using AlicizaX;
|
||||
using AlicizaX.Audio.Runtime;
|
||||
|
||||
public static partial class GameApp
|
||||
@ -21,3 +22,5 @@ public static partial class GameApp
|
||||
|
||||
internal static IAudioModule _audio;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
#if ALICIZAX_EVENT_SUPPORT
|
||||
using AlicizaX.Event.Runtime;
|
||||
using AlicizaX;
|
||||
|
||||
@ -22,3 +22,5 @@ public static partial class GameApp
|
||||
|
||||
internal static IEventModule _event;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -1,4 +1,7 @@
|
||||
using AlicizaX;
|
||||
#if ALICIZAX_FSM_SUPPORT
|
||||
|
||||
|
||||
using AlicizaX;
|
||||
using AlicizaX.Fsm.Runtime;
|
||||
|
||||
public static partial class GameApp
|
||||
@ -21,3 +24,4 @@ public static partial class GameApp
|
||||
|
||||
internal static IFsmModule _fsm;
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
using AlicizaX.Localization.Runtime;
|
||||
#if ALICIZAX_LOCALIZATION_SUPPORT
|
||||
using AlicizaX.Localization.Runtime;
|
||||
using AlicizaX;
|
||||
|
||||
public static partial class GameApp
|
||||
@ -21,3 +22,4 @@ public static partial class GameApp
|
||||
|
||||
internal static ILocalizationModule _localization;
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
|
||||
#if ALICIZAX_RESOURCE_SUPPORT
|
||||
|
||||
using AlicizaX.Resource.Runtime;
|
||||
using AlicizaX;
|
||||
|
||||
@ -22,3 +23,5 @@ public static partial class GameApp
|
||||
|
||||
internal static IResourceModule _resource;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
using AlicizaX;
|
||||
#if ALICIZAX_SCENE_SUPPORT
|
||||
using AlicizaX;
|
||||
using AlicizaX.Scene.Runtime;
|
||||
|
||||
public static partial class GameApp
|
||||
@ -22,3 +23,5 @@ public static partial class GameApp
|
||||
internal static ISceneModule _scene;
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
using AlicizaX;
|
||||
#if ALICIZAX_TIMER_SUPPORT
|
||||
using AlicizaX;
|
||||
using AlicizaX.Timer.Runtime;
|
||||
|
||||
public static partial class GameApp
|
||||
@ -21,3 +22,5 @@ public static partial class GameApp
|
||||
|
||||
internal static ITimerModule _timer;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
using AlicizaX;
|
||||
#if ALICIZAX_UI_SUPPORT
|
||||
using AlicizaX;
|
||||
using AlicizaX.UI.Runtime;
|
||||
|
||||
public static partial class GameApp
|
||||
@ -21,3 +22,5 @@ public static partial class GameApp
|
||||
|
||||
internal static IUIModule _ui;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -19,18 +19,40 @@ internal static class GameAppStaticMemberReset
|
||||
private static void ResetAllEventContainers()
|
||||
{
|
||||
GameApp._base = null;
|
||||
#if ALICIZAX_AUDIO_SUPPORT
|
||||
GameApp._audio = null;
|
||||
#endif
|
||||
|
||||
#if ALICIZAX_EVENT_SUPPORT
|
||||
GameApp._event = null;
|
||||
#endif
|
||||
#if ALICIZAX_FSM_SUPPORT
|
||||
GameApp._fsm = null;
|
||||
#endif
|
||||
#if ALICIZAX_LOCALIZATION_SUPPORT
|
||||
GameApp._localization = null;
|
||||
#endif
|
||||
|
||||
#if ALICIZAX_NETWORK
|
||||
GameApp._network = null;
|
||||
#endif
|
||||
GameApp._objectPool = null;
|
||||
#if ALICIZAX_RESOURCE_SUPPORT
|
||||
GameApp._resource = null;
|
||||
#endif
|
||||
|
||||
#if ALICIZAX_SCENE_SUPPORT
|
||||
GameApp._scene = null;
|
||||
#endif
|
||||
|
||||
#if ALICIZAX_TIMER_SUPPORT
|
||||
GameApp._timer = null;
|
||||
#endif
|
||||
|
||||
#if ALICIZAX_UI_SUPPORT
|
||||
GameApp._ui = null;
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user