Preload WeChatLibrary [MSDK only]
[MSDK only] Preload the WeChat DDL file to avoid a 2-second delay during the first WeChat scan code.
Supported platforms
- Unity
- Unreal Engine
Supports
Windows platform.Supports
Windows platform.Function Definition
- Unity
- Unreal Engine
void PreLoadWeChatLibrary();
static void PreLoadWeChatLibrary();
Code Example
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().PreLoadWeChatLibrary();
GUA_NAMESPACE::GUAAccountService::PreLoadWeChatLibrary();