Get Started with Unity
Chartboost Core Unity SDK is designed as an entry point to manage and facilitate different modules for your Android/iOS application. Each module can be individually initialized with metrics collected and reported to offer detailed insights into the moduleโs performance and potential issues.
The main functionalities provided by the SDK are:
- Initialization of individual or a set of modules.
- Performance metrics collection during the module initialization process.
- Detailed error tracking and reporting with categorized error codes.
- Centralized logging system with multiple log levels and output options.
Minimum Supported Development Tools ๐
Software | Version |
---|---|
Minimum Unity Editor Version | 2022.3.22 (2022 LTS) |
Recommended Android Gradle Plugin Version | 8.2 |
Recommended Kotlin Version | 1.9.21 |
Recommended Java Version | 17 |
Minimum Swift Version | 5.0 |
Add the Core SDK to your project ๐
Using the public npm registry ๐
In order to add the Chartboost Core Unity SDK to your project using the npm package, add the following to your Unity Projectโs manifest.json
file. The scoped registry section is required in order to fetch packages from the NpmJS registry.
"dependencies": {
"com.chartboost.core": "1.0.2",
...
},
"scopedRegistries": [
{
"name": "NpmJS",
"url": "https://registry.npmjs.org",
"scopes": [
"com.chartboost"
]
}
]
Using the Public Nuget Package ๐
To add the Chartboost Core Unity SDK to your project using the NuGet package, you will first need to add the NugetForUnity package into your Unity Project.
This can be done by adding the following to your Unity Projectโs manifest.json
.
"dependencies": {
"com.github-glitchenzo.nugetforunity": "https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity",
...
},
Once NugetForUnity
is installed, search for Chartboost.CSharp.Core.Unity
in the search bar of Nuget Explorer window (Nuget > Manage Nuget Packages).
You should be able to see the Chartboost.CSharp.Core.Unity
package. Choose the appropriate version and install.