This document describes how to quickly integrate the IM SDK for Unity to your projects. To configure and integrate the SDK, follow these steps.
Find the manifest.json
file:
Modify it as follows:
{
"dependencies":{
"com.tencent.imsdk.unity":"1.6.4" // Set to the latest version. To get all versions, visit https://www.npmjs.com/package/com.tencent.imsdk.unity.
},
"registry": "https://registry.npmjs.org"
}
Open the project in the Unity Editor, wait until dependencies are loaded, and confirm the Tencent Cloud IM is successfully loaded.
Perform a test: Download the test script, decompress the file, import the decompressed file to the project, and bind TestApi.cs to any scenario.
Was this page helpful?