Skip to content

Commit

Permalink
Bump 2 6 0 (#145)
Browse files Browse the repository at this point in the history
* Update Thirdweb SDK to 5.15.1

* Fix warning

* Bump TDK version to 2.6.0
  • Loading branch information
lefarchi authored Jan 16, 2025
1 parent 71e5ebf commit 12bb06e
Show file tree
Hide file tree
Showing 17 changed files with 1,027 additions and 747 deletions.
310 changes: 159 additions & 151 deletions Assets/Thirdweb/Editor/ThirdwebManagerEditor.cs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Assets/Thirdweb/Examples/Scripts/PlaygroundManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ private async void ConnectWallet(WalletOptions options)
currentPanel.Action1Button.onClick.AddListener(async () =>
{
var address = await wallet.GetAddress();
address.CopyToClipboard();
Log(currentPanel.LogText, $"Address: {address}");
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ public void OnPostBuildPlayerScriptDLLs(BuildReport report)
if (report.summary.platform != BuildTarget.WebGL)
return;

#if UNITY_2022_1_OR_NEWER
var mscorLibDll = report.GetFiles().FirstOrDefault(f => f.path.EndsWith("mscorlib.dll")).path;
#else
var mscorLibDll = report.files.FirstOrDefault(f => f.path.EndsWith("mscorlib.dll")).path;
#endif
if (mscorLibDll == null)
{
Debug.LogError("Can't find mscorlib.dll in build dll files");
Expand Down
Binary file modified Assets/Thirdweb/Runtime/NET/Thirdweb.dll
Binary file not shown.
55 changes: 55 additions & 0 deletions Assets/Thirdweb/Runtime/Unity/Prefabs/ThirdwebManagerServer.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2985666425045432145
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7977017408921700919}
- component: {fileID: 5964706357837968276}
m_Layer: 0
m_Name: ThirdwebManagerServer
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7977017408921700919
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2985666425045432145}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &5964706357837968276
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2985666425045432145}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a197f9da6b1311840bb25b207982e287, type: 3}
m_Name:
m_EditorClassIdentifier:
<InitializeOnAwake>k__BackingField: 1
<ShowDebugLogs>k__BackingField: 1
<OptOutUsageAnalytics>k__BackingField: 0
<AutoConnectLastWallet>k__BackingField: 0
<SupportedChains>k__BackingField: ee6e060000000000
<IncludedWalletIds>k__BackingField: []
<RedirectPageHtmlOverride>k__BackingField:
<RpcOverrides>k__BackingField: []
<SecretKey>k__BackingField:

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 12bb06e

Please sign in to comment.