Skip to content

Commit 70cd49d

Browse files
authored
Update README.md (#25)
1 parent dc4d0c9 commit 70cd49d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,18 @@ Head over to the [releases](https://github.com/thirdweb-dev/unity-sdk/releases)
2424

2525
Drag and drop the file into your project.
2626

27-
The package comes with a sample Scene showcasing the different capabilities of the SDK.
27+
The package comes with a sample Scene and Prefab examples showcasing the different capabilities of the SDK.
28+
29+
Note: you may need to install the [Newtonsoft.Json](https://github.com/jilleJr/Newtonsoft.Json-for-Unity/wiki/Install-official-via-UPM) package manually if you experience importing errors on different Unity versions.
2830

2931
# Build
3032

3133
- Open your `Build settings`, select `WebGL` as the target platform.
3234
- Open `Player settings` > `Resolution and Presentation` and under `WebGLTemplate` choose `Thirdweb`.
3335
- Save and click `Build and Run` to test out your game in a browser.
3436

37+
If you're uploading your build, set `Compression Format` to `Disabled` in `Player Settings` > `Publishing Settings`.
38+
3539
Note that in order to communicate with the SDK, you need to `Build and run` your project so it runs in a browser context.
3640

3741
#### _**Interacting with the SDK within the Unity Editor is NOT supported.**_
@@ -103,6 +107,7 @@ nftPrefabScript.LoadNFT(nft);
103107
[Events](https://github.com/thirdweb-dev/unity-sdk/blob/main/Assets/Thirdweb/Examples/Scripts/Prefabs/Prefab_Events.cs) - Fetch and manipulate Contract Events with a simple API!
104108
- Get specific events from any contract.
105109
- Get all events from any contract.
110+
- Event listener support with callback actions.
106111
- Optional query filters.
107112

108113
See full documentation on the [thirdweb portal](https://portal.thirdweb.com).

0 commit comments

Comments
 (0)