-
Notifications
You must be signed in to change notification settings - Fork 4
Project Setup
- Add the CAS package to Your Project
- Add the External Dependency Manager for Unity
- Documentation comments issue with Assembly Definition
If you are using Unity 2018.4 or newer then you can add CAS SDK to your Unity project using the Unity Package Manager, or you can import the package manually.
In your open Unity project, navigate to Window -> Package Manager -> + -> Add package from Git URL
and add url:
https://github.com/cleveradssolutions/CAS-Unity.git#2.9.5
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#2.9.4",
}
}
- 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.
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.
Unity still does not generate XML documentation for compiled assemblies in packages. It does however provide options to reference the package sources instead of the compiled assemblies, in which case the documentation will be picked up (and your editor will have to index more files).
- Go to
Preferences > External Tools
- Check the Generate
.csproj
files for:- Git packages
- Press Regenerate project files button.
🔗 Done! What’s Next?
- Project Setup
- Configuring SDK
- Include Android
- Include iOS
- Additional mediation steps
- App-ads.txt🔗