Home - cleveradssolutions/CAS-Unity GitHub Wiki
Prerequisites | |
---|---|
Unity Editor | 2018.4+ |
Android Minimum API | 21+ |
Android Target API | 33+ |
iOS Minimum version | 13+ |
iOS XCode | 15.1+ |
Add the CAS package to Your Project
Add CAS Unity plugin to your Unity project using the Unity Package Manager, or you can import the package manually.
Option 1 Unity Package Manager window
In your open Unity project, navigate to Window -> Package Manager -> + -> Add package from Git URL
and add url:
Enter the CAS Git URL in the text box and click Add
:
https://github.com/cleveradssolutions/CAS-Unity.git#3.7.2
[!NOTE]
- Check Prerequisites and Troubleshooting on Install a package from a Git URL page of Unity Documentation.
- To receive release updates, please
Option 2 Modify manifest.json
Open YourProject/Packages/manifest.json
file in any text editor and add line in dependencies
scope:
{
"dependencies": {
"com.cleversolutions.ads.unity": "https://github.com/cleveradssolutions/CAS-Unity.git#3.7.2",
}
}
Option 3 Manual import unity package
- 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.
Add the External Dependency Manager for Unity
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?