Skip to content

Using Treasure Connect

(See Assets/Treasure/Example/Scripts for usage examples)

Configure Auth Options

Auth methods can be configured on the TDKConnectSettings.asset object.

Available auth options are:

  1. Social:
  • Google
  • Apple
  • X
  1. Email
  2. Wallet:
  • Metamask
  • Coinbase Wallet
  • Wallet Connect

config_menu

Configure Theme

Treasure Connect comes in two theme flavours which can be toggled from the TDKConnectCanvasLandscape / TDKConnectCanvasPortrait GameObjects

config_menu

Show / Hide Treasure Connect UI

using Treasure;
 
// Showing the Treasure Connect UI
TDK.Connect.Show();
 
// Dismissing the Treasure Connect UI
TDK.Connect.Hide();