Releases: thirdweb-dev/unity
v2.0.1
Changelog
- [WebGL] Fixed custom contract Read/Write calls
v2.0.0
Stable v2 release of the unity SDK!
- Support for any platform (Desktop/Mobile/Console/VR/WebGL)
- Revamped prefabs for wallet connection, nft renderers
- Support for latest contracts, including Marketplace v3
- Support for gasless
- Support for generated wallets (Device wallet)
And more! check out the full documentation: https://portal.thirdweb.com/unity
v2.0.0-alpha3
Changelog
Improvements
- [Native] WalletConnect now automatically adds the target chain and switches to it if needed.
- [Native] Wallet.GetBalance now displays the correct name and symbol of the chain's native currency.
User Interface
- [Native] Improved Device Wallet - Password Panel UI
- [Native] Prefab_ConnectWallet got a brand new look!
- [WebGL] Prefab_ConnectWallet got a brand new look!
Structure changes
- Added Resources/all_chains.json
Which team are you on, WebGL or Native?
2.0.0-alpha2
- Visual fixes for connect wallet prefab
- Fixes for Pack contract on webGL
2.0.0-alpha1
v2.0 Alpha1 update
- Gasless support for native platforms
- WalletConnect bug fixes and improvements
- DeviceWallet support for webGL
- Misc fixes
2.0.0-alpha
Native platforms support
The thirdweb SDK can now be used on ANY unity platform with the same, convenient API!
- WebGL
- Desktop
- Android
- iOS
- VR
- Console
This means you can now build desktop and mobile games with web3 functionality, and test real web3 interactions straight from your Unity editor!
This includes wallet connectivity. Native platforms can connect wallets via:
- Device wallet - a generated wallet that lives on the users device, optionally password protected and exportable to MetaMask
- WalletConnect - connect any mobile wallet to your game via QR code
In order to simplify maintaining wallet connections accross the game, you now need to use the ThirdwebManager
prefab in your scenes. This allows to configure chains, overrides and maintain wallet connection state everywhere.
1.1.5
Upgrade to latest SDK with fixes for custom EVM chains
1.1.4
Changelog
- SDK: Any EVM Support! pass any RPC url when initializing the SDK - you can find RPC urls on https://thirdweb.com/chains
- Connect Wallet Prefab: You can now add Unity callback events from the inspector directly for each wallet event
- Connect Wallet Prefab: The "Metamask" button is now set up to use the Injected provider by default, meaning you can connect any browser wallet using it now
- Package: Newtonsoft Json DLL added as part of the .unitypackage - import if you do not have it installed, feel free to deselect otherwise.
v1.1.3
NEW - Events Prefab, Reading, Writing and Misc Examples!
This update comes with additional minimalistic prefab/script examples and SDK updates including the addition of Events, Event Listeners and updated Thirdweb Auth support. Try out our new example scene!
Events - Fetch and manipulate Contract Events with a simple API!
- Get specific events from any contract.
- Get all events from any contract.
- Event listener support with callback actions.
- Optional query filters.
Reading - Reading from a contract!
- Fetch ERC20 Token(s).
- Fetch ERC721 NFT(s).
- Fetch ERC1155 NFT(s).
- Fetch Marketplace Listing(s).
Writing - Writing to a contract!
- Mint ERC20 Token(s).
- Mint ERC721 NFT(s).
- Mint ERC1155 NFT(s).
- Buy Marketplace Listing(s).
Miscellaneous - More examples!
- Get (Native) Balance.
- Custom Contract Read/Write Calls.
- Authentication.
- Deployment.
v1.1.2
Connect Wallet Prefab Visual Update + Wallet Balance + Network switching
- The Connect Wallet prefab now optionally supports network switching - you can activate/deactivate this functionality and related UI from the Inspector.
- It also now shows the user balance for the selected chain
- This also comes with a visual upgrade and new icons
- You can now set your supported networks from the
ThirdwebManager
prefab in your scene - Other QOL changes like using an enum for Chains
Build the Examples/Scenes demo to try it out!