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
@@ -31,10 +31,12 @@ Drag and drop the file into your project.
31
31
32
32
The package comes with a sample Scene and Prefab examples showcasing the different capabilities of the SDK.
33
33
34
-
All you need is a ThirdwebManager component in your scene. See [documentation](https://portal.thirdweb.com/unity) for more information.
34
+
All you need is a ThirdwebManager prefab in your scene. See [documentation](https://portal.thirdweb.com/unity) for more information.
35
35
36
36
The SDK has been tested on Web, Desktop and Mobile platforms using Unity 2021 and 2022 LTS. We recommend using 2022 LTS.
37
37
38
+
The example scenes are built using Unity 2022 LTS.
39
+
38
40
Note: The Newtonsoft DLL is included as part of the Unity Package, feel free to deselect it if you already have it installed as a dependency to avoid conflicts.
39
41
40
42
# Build
@@ -70,8 +72,8 @@ var sdk = ThirdwebManager.Instance.SDK;
70
72
71
73
// Configure the connection
72
74
varconnection=newWalletConnection(
73
-
provider: WalletProvider.Paper, // The wallet provider you want to connect to (Required)
74
-
chainId: 1, // The chain you want to connect to (Required)
75
+
provider: WalletProvider.EmbeddedWallet,// The wallet provider you want to connect to (Required)
76
+
chainId: 5, // The chain you want to connect to (Required)
75
77
email: "email@email.com"// The email you want to authenticate with (Required for this provider)
76
78
);
77
79
@@ -102,7 +104,7 @@ var res = await contract.Read<string>("myReadFunction", arg1, arg2, ...);
0 commit comments