I'm trying to include the [Google webfornts api][1] into my project and reference it but I keep having problems, I've tried three different things:
- Building out a class library of a Nuget package with another solution
- Imported the the API directly into the solution using NuGet
- Tried importing using the [Unity Nuget pack asset][2]
This is the class lib settings:
![alt text][3]
This is the Unity solution finding the built lib:
![alt text][4]
But nothing's working, the current error I get with adding the class library to my project is `Assembly 'Assets/GoogleFont/libs/GoogleFontAPI.dll' will not be loaded due to errors:Unable to resolve reference 'Google.Apis.Webfonts.v1'. Is the assembly missing or incompatible with the current platform?Unable to resolve reference 'Google.Apis'. Is the assembly missing or incompatible with the current platform?`
[1]: https://www.nuget.org/packages/Google.Apis.Webfonts.v1/
[2]: https://assetstore.unity.com/packages/tools/utilities/nuget-for-unity-104640
[3]: /storage/temp/139040-unknown.png
[4]: /storage/temp/139041-unknown-1.png
↧