You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/unity/installation.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ title: Installation
23
23
3.Import"Setup"fromSamples
24
24

25
25
26
-
a) This will import a Resources folder with the SequenceConfig scriptable object (more on this in Setup).
26
+
a) This will import a Resources folder with some boilerplate UI prefabs for you to use in your project.
27
27
28
28
4.Import`TMP Essentials` (ifyouhaven't already). Note: Unity should prompt you to do this automatically if you attempt to Play or Build with a TextMeshPro object in your scene.
Copy file name to clipboardExpand all lines: sdk/unity/setup.mdx
+8-15Lines changed: 8 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,25 +4,18 @@ description: Documentation for Unity SDK setup for the Sequence infrastructure s
4
4
---
5
5
6
6
# Setup
7
-
8
-
1. Navigate to the Resources folder imported via the `Setup` sample and locate the `SequenceConfig` ScriptableObject
9
-
10
-
a) If you imported the SDK manually, you will need to create a Resources folder and SequenceConfig
11
-
12
-
b) Create a `Resources` folder located at `Assets/Resources`. The SDK uses [Resources.Load](https://docs.unity3d.com/ScriptReference/Resources.Load.html) to load the config `ScriptableObject` we'll create in the next step.
7
+
1.[Configure your Embedded Wallet](/sdk/headless-wallet/quickstart) in the Sequence Builder
8
+
2. Download the Unity configuration ScriptableObject `SequenceConfig.asset` from the Builder UI
3. Place your newly downloaded `SequenceConfig.asset` ScriptableObject in the root of a Resources folder. It will be loaded using [Resources.Load](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Resources.Load.html). Double check your config values, namely:
13
13
14
-
c) On the top bar, click `Assets > Create > Sequence > SequenceConfig` and place the newly created `ScriptableObject` at the root of your `Resources` folder.
15
-
2. Fill in `SequenceConfig` with the appropriate values for your project.
16
-
17
14
a) `Url Scheme` - You must replace this with a string that is unique to your application. This is very important. Failure to do so will cause unexpected behaviour when signing in with social sign in and it will not work.
18
15
19
-
b) `Builder API Keys` - These are found in the [Sequence Builder](https://sequence.build/) under `Settings > API Keys`
20
-
21
-
c) `WaaS Config Key` - You can get this key in [Sequence Builder](https://sequence.build/) under `Onboard > Embedded Wallet`
22
-
23
-
d) `StoreSessionPrivateKeyInSecureStorage` - Available on select platforms: we have integrated with the platform's native secure storage system. If enabled, we will store session wallet info (including the private key) in secure storage and automatically attempt to recover the session for the user after closing the app (so they won't need to login again). With this disabled (default) or on an unsupported platform, the session wallet's private keys never leave the application's runtime memory; however, your user will need to sign in again anytime they close the app. The default `LoginPanel` UI (see [Recovering Sessions](/sdk/unity/onboard/recovering-sessions)) will handle this behaviour for you automatically, navigating to the appropriate page.
16
+
b) `StoreSessionPrivateKeyInSecureStorage` - Available on select platforms: we have integrated with the platform's native secure storage system. If enabled, we will store session wallet info (including the private key) in secure storage and automatically attempt to recover the session for the user after closing the app (so they won't need to login again). With this disabled (default) or on an unsupported platform, the session wallet's private keys never leave the application's runtime memory; however, your user will need to sign in again anytime they close the app. The default `LoginPanel` UI (see [Recovering Sessions](/sdk/unity/onboard/recovering-sessions)) will handle this behaviour for you automatically, navigating to the appropriate page.
24
17
25
-
e) `EnableMultipleAccountsPerEmail` - By default, the SDK will only allow users to create one account per email. The account is initially associated with the login method used (email + OTP, PlayFab, Google, etc.); the user can associate additional login methods with their account (more on this in the [Authentication section](/sdk/unity/onboard/authentication/federated-accounts)). If `EnableMultipleAccountsPerEmail` is enabled, users have the option to create multiple accounts per email address (associated with different login methods). While we have enabled this functionality, we, in general, feel this behaviour may be confusing to end-users and recommend integrators keep this option in the default disabled status.
18
+
c) `EnableMultipleAccountsPerEmail` - By default, the SDK will only allow users to create one account per email. The account is initially associated with the login method used (email + OTP, PlayFab, Google, etc.); the user can associate additional login methods with their account (more on this in the [Authentication section](/sdk/unity/onboard/authentication/federated-accounts)). If `EnableMultipleAccountsPerEmail` is enabled, users have the option to create multiple accounts per email address (associated with different login methods). While we have enabled this functionality, we, in general, feel this behaviour may be confusing to end-users and recommend integrators keep this option in the default disabled status.
26
19
27
20
<Warning>Before proceeding, please make sure you have properly configured the Embedded Wallet in the Builder. See this [guide](/sdk/headless-wallet/quickstart).</Warning>
0 commit comments