Search code examples
.netxamarinleaderboard

How to import BaseGameUtils in .NET?


How to import BaseGameUtils (https://github.com/playgameservices/android-samples/tree/master/BasicSamples/libraries/BaseGameUtils) in Xamarin or Visual Studio Android Application Project?

Doesn't exist .NET DLL? No one used it yet? Or no need BaseGameUtils for leaderboards?

I watched this tutorial: https://www.youtube.com/watch?v=oU0n43LtqCI

Thank you!


Solution

  • To access a native library from Xamarin you create a binding for it.

    Alternately, you could just hand-port the code to C#. The code you linked to is only three classes of a few hundred lines and may not be unreasonably big to translate.