Hanzo
PlatformHanzo IAMIntegrationsC#

Unity

Use the Hanzo IAM-dotnet-sdk for Unity development.

Step 1: Deploy Hanzo IAM

Deploy Hanzo IAM in production mode. See Server installation. Ensure the server is reachable and you can sign in (e.g. admin / 123). For a quick start, use the Hanzo IAM demo.

Step 2: Import Hanzo IAM.Client

Import [Hanzo IAM.Client](https://github.com/iam/iam-dotnet-sdk/tree/master/src/Hanzo IAM.Client) for .NET in the Hanzo IAM-dotnet-sdk.

One optional method is as follows:

  • git@github.com:iam/iam-dotnet-sdk.git
  • Run ConsoleApp in the Sample folder.
  • Get the /iam-dotnet-sdk/src/Hanzo IAM.Client/bin/Debug/net462 folder.

Import the net462 folder (or another target framework folder) into your Unity project as shown below.

import-sdk

Step 3: Usage

Learn how to use the Hanzo IAM.Client SDK for Unity 3D mobile development by looking at iam-unity-example.

After running the iam-unity-example, the following interfaces appear:

  • Login with username and password:
iOSAndroid
iOS-gifAndroid-gif
  • Login with the Hanzo IAM web page:
iOSAndroid
iOS-gif-webAndroid-gif-web

How is this guide?

Last updated on

On this page