> For the complete documentation index, see [llms.txt](/llms.txt).

# Use the Unity SDK

Use the Unity SDK methods to sign users in and out, retrieve account data, configure multi-factor authentication (MFA), and open Wallet Services.

## List of functions[​](#list-of-functions "Direct link to List of functions")

tip

For detailed usage, configuration options, and code examples, refer to the dedicated documentation page for each function.

### Authentication functions[​](#authentication-functions "Direct link to Authentication functions")

| Function Name                                         | Description                                                    |
| ----------------------------------------------------- | -------------------------------------------------------------- |
| [login()](/embedded-wallets/sdk/unity/usage/login/)   | Signs the user in with the selected authentication connection. |
| [logout()](/embedded-wallets/sdk/unity/usage/logout/) | Signs the user out of the current session.                     |

### User management functions[​](#user-management-functions "Direct link to User management functions")

| Function Name                                                     | Description                                     |
| ----------------------------------------------------------------- | ----------------------------------------------- |
| [getUserInfo()](/embedded-wallets/sdk/unity/usage/get-user-info/) | Retrieves the authenticated user's information. |

### Private key functions[​](#private-key-functions "Direct link to Private key functions")

| Function Name                                                                        | Description                                                          |
| ------------------------------------------------------------------------------------ | -------------------------------------------------------------------- |
| [getPrivateKey()](/embedded-wallets/sdk/unity/usage/get-private-key/)                | Retrieve the user's secp256k1 private key for EVM-compatible chains. |
| [getEd25519PrivateKey()](/embedded-wallets/sdk/unity/usage/get-ed25519-private-key/) | Retrieve the user's Ed25519 private key for compatible chains.       |

### Security functions[​](#security-functions "Direct link to Security functions")

| Function name                                                | Description                           |
| ------------------------------------------------------------ | ------------------------------------- |
| [enableMFA()](/embedded-wallets/sdk/unity/usage/enable-mfa/) | Enables MFA for the user.             |
| [manageMFA()](/embedded-wallets/sdk/unity/usage/manage-mfa/) | Opens the user's MFA management flow. |

### Wallet Services functions[​](#wallet-services-functions "Direct link to Wallet Services functions")

| Function Name                                                               | Description                                                   |
| --------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [showWalletUI()](/embedded-wallets/sdk/unity/usage/launch-wallet-services/) | Opens the Wallet Services UI in a web view.                   |
| [request()](/embedded-wallets/sdk/unity/usage/request/)                     | Opens templated transaction screens for signing transactions. |
