Skip to content

Unity App: Onboard Users

In this guide, you will learn how to onboard users via social login in a Web3 Unity gaming app with the and allow authenticated users to access the Arcana wallet within the app context.

Prerequisites

Onboarding Users

Onboarding users in a Unity Web3 gaming app with the Arcana Auth Unity SDK and allowing authenticated users to access the Arcana wallet is simple!

Call LoginWithSocial or LoginWithOTP to onboard the user. Choose one of the supported user onboarding options such as Google, Steam, etc.

// After initializing the SDK

if (loginMethod == LoginMethod.Passwordless)
  arcanaSDK.LoginWithOTP(email);
else
  arcanaSDK.LoginWithSocial(loginMethod);

That is all!

The Unity Web3 gaming app can now onboard users via the configured social login providers.

What's Next?

After adding code to onboard users in a Unity Web3 gaming app, developers can add code to enable Web3 wallet operations for authenticated users to sign transactions.

See also


Last update: March 15, 2024 by shaloo