https://github.com/chartboost/chartboost-unity-utilities
Reusable Utilities for Chartboost's Unity Projects
https://github.com/chartboost/chartboost-unity-utilities
android chartboost chartboost-mediation csharp ios library unity
Last synced: 3 months ago
JSON representation
Reusable Utilities for Chartboost's Unity Projects
- Host: GitHub
- URL: https://github.com/chartboost/chartboost-unity-utilities
- Owner: ChartBoost
- License: mit
- Created: 2024-03-13T22:39:33.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-19T18:30:36.000Z (8 months ago)
- Last Synced: 2024-12-18T17:01:58.027Z (5 months ago)
- Topics: android, chartboost, chartboost-mediation, csharp, ios, library, unity
- Language: C#
- Homepage: https://www.chartboost.com
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Chartboost Unity Utilities
Simple utilities package for the Chartboost Unity development environment.
# Installation
This package is meant to be a dependency for other Chartboost Packages; however, if you wish to use it by itself, it can be installed through UPM & NuGet as follows:## Using the public [npm registry](https://www.npmjs.com/search?q=com.chartboost.unity.utilities)
```json
"dependencies": {
"com.chartboost.unity.utilities": "1.0.1",
...
},
"scopedRegistries": [
{
"name": "NpmJS",
"url": "https://registry.npmjs.org",
"scopes": [
"com.chartboost"
]
}
]
```## Using the public [NuGet package](https://www.nuget.org/packages/Chartboost.CSharp.Utilities.Unity)
To add the Chartboost Core Unity SDK to your project using the NuGet package, you will first need to add the [NugetForUnity](https://github.com/GlitchEnzo/NuGetForUnity) package into your Unity Project.
This can be done by adding the following to your Unity Project's ***manifest.json***
```json
"dependencies": {
"com.github-glitchenzo.nugetforunity": "https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity",
...
},
```Once
NugetForUnity
is installed, search for `Chartboost.CSharp.Utilities.Unity` in the search bar of Nuget Explorer window(Nuget -> Manage Nuget Packages).
You should be able to see the `Chartboost.CSharp.Utilities.Unity` package. Choose the appropriate version and install.# Usage
## ApplicationPreferences
Stores local data related to Chartboost SDKs. Data is stored in local registries without encryption. Defaults to `PlayerPrefs` if native implementation does not exist.Works in a similar fashion as [PlayerPrefs](https://docs.unity3d.com/ScriptReference/PlayerPrefs.html) but encapsulated to the app's Chartboost contexts and SDKs.