-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Prerequisites | |
---|---|
Unity Editor | 2018.4+ |
Android Minimum API | 21 |
Android Target API | 34 |
iOS Target Minimum | 13.0 |
iOS XCode | 15.3+ |
Choose one of the following methods to import the CAS Unity plugin into your Unity project.
- OpenUPM-CLI
- OpenUPM
- Add package from git URL
- Import .unitypackage
If you have the OpenUPM CLI installed, you can install the OpenUPM registry with the following command:
openupm add com.cleversolutions.ads.unity
- Open the package manager settings by selecting the Unity menu option Edit > Project Settings > Package Manager.
- Add OpenUPM as a scoped registry to the Package Manager window:
Name: OpenUPM
URL: https://package.openupm.com
Scopes: com.cleversolutions
- Open the package manager menu by selecting the Unity menu option Window > Package Manager.
- Set the manager scope drop-down to select My Registries.
- Select the CleverAdsSolutions package from the package list.
- Press Install.
In your open Unity project, navigate to Window -> Package Manager -> + -> Add package from Git URL
and add url:
- Open the package manager menu by selecting the Unity menu option Window > Package Manager.
- Press the plus (+) drop-down to select Add package from Git URL.
- Enter the CAS Git URL in the text box and click Add:
https://github.com/cleveradssolutions/CAS-Unity.git#3.9.7
The CAS Git URL end with the tag name after #
.
Note
Check Prerequisites and Troubleshooting on Install a package from a Git URL page of Unity Documentation.
- Download latest CleverAdsSolutions.unitypackage
- In your open Unity project, navigate to
Assets > Import Package > Custom Package
. - In the
Import Unity Package
window, make sure all of the files are selected and click Import.
If you are migrating from using a .unitypackage
to using OpenUPM, you must manually uninstall the assets from the old location. Remove the following directories that were imported from the .unitypackage
:
Assets/CleverAdsSolutions
The CAS Unity plugin is distributed with the External Dependency Manager for Unity library. This library is intended for use by any Unity plugin that requires access to Android specific libraries (e.g., AARs) or iOS CocoaPods. It provides Unity plugins the ability to declare dependencies, which are then automatically resolved and copied into your Unity project.
- Download latest external-dependency-manager.unitypackage.
- In your open Unity project, navigate to
Assets > Import Package > Custom Package
. - In the
Import Unity Package
window, make sure all of the files are selected and click Import.
🔗 Done! What’s Next?
- Project Setup
- Configuring SDK
- Include Android
- Include iOS
- Additional mediation steps
- App-ads.txt🔗