From 193bad88a567de1dd4dc9f465b28f5ceb5f380ab Mon Sep 17 00:00:00 2001 From: Firekeeper <0xFirekeeper@gmail.com> Date: Fri, 3 Feb 2023 21:10:19 +0300 Subject: [PATCH] Connect Wallet Visual Update (#19) Co-authored-by: Joaquim Verges --- .../Examples/Prefabs/Button_Network.prefab | 352 ++++ .../Prefabs/Button_Network.prefab.meta | 7 + .../Prefabs/Prefab_ConnectWallet.prefab | 1478 +++++++++++++++-- .../Examples/Prefabs/Prefab_NFTLoader.prefab | 20 +- .../Examples/Prefabs/ThirdwebManager.prefab | 3 +- .../Examples/Scenes/Scene_Prefabs.unity | 110 +- Assets/Thirdweb/Examples/Scripts/Prefabs.meta | 8 + .../{ => Prefabs}/Prefab_ConnectWallet.cs | 120 +- .../Prefab_ConnectWallet.cs.meta | 0 .../Scripts/{ => Prefabs}/Prefab_NFT.cs | 0 .../Scripts/{ => Prefabs}/Prefab_NFT.cs.meta | 0 .../Scripts/{ => Prefabs}/Prefab_NFTLoader.cs | 0 .../{ => Prefabs}/Prefab_NFTLoader.cs.meta | 0 .../Scripts/Prefabs/ThirdwebManager.cs | 63 + .../{ => Prefabs}/ThirdwebManager.cs.meta | 0 .../Examples/Scripts/ThirdwebManager.cs | 64 - .../Examples/Scripts/{UI.meta => Utils.meta} | 0 .../Scripts/{UI => Utils}/LoadingSpinner.cs | 0 .../{UI => Utils}/LoadingSpinner.cs.meta | 0 Assets/Thirdweb/Examples/Sprites/Chains.meta | 8 + .../Examples/Sprites/Chains/arbitrum.png | Bin 0 -> 29474 bytes .../Examples/Sprites/Chains/arbitrum.png.meta | 135 ++ .../Examples/Sprites/Chains/avalanche.png | Bin 0 -> 18567 bytes .../Sprites/Chains/avalanche.png.meta | 135 ++ .../Examples/Sprites/Chains/binance.png | Bin 0 -> 7601 bytes .../Examples/Sprites/Chains/binance.png.meta | 135 ++ .../Examples/Sprites/Chains/ethereum.png | Bin 0 -> 14058 bytes .../Examples/Sprites/Chains/ethereum.png.meta | 135 ++ .../Examples/Sprites/Chains/fantom.png | Bin 0 -> 19400 bytes .../Examples/Sprites/Chains/fantom.png.meta | 135 ++ .../Examples/Sprites/Chains/optimism.png | Bin 0 -> 17946 bytes .../Examples/Sprites/Chains/optimism.png.meta | 135 ++ .../Examples/Sprites/Chains/polygon.png | Bin 0 -> 47140 bytes .../Examples/Sprites/Chains/polygon.png.meta | 135 ++ Assets/Thirdweb/Examples/Sprites/UI.meta | 8 + .../Examples/Sprites/UI/Button_Rounded.png | Bin 0 -> 336566 bytes .../Sprites/UI/Button_Rounded.png.meta | 135 ++ .../Sprites/{ => UI}/Icon_DownArrow.png | Bin .../Sprites/{ => UI}/Icon_DownArrow.png.meta | 2 +- .../Examples/Sprites/UI/Square_Rounded.png | Bin 0 -> 924 bytes .../Sprites/UI/Square_Rounded.png.meta | 135 ++ Assets/Thirdweb/Examples/Sprites/Wallets.meta | 8 + .../Sprites/{ => Wallets}/Logo_Coinbase.png | Bin .../{ => Wallets}/Logo_Coinbase.png.meta | 2 +- .../Sprites/{ => Wallets}/Logo_Injected.png | Bin .../{ => Wallets}/Logo_Injected.png.meta | 2 +- .../Sprites/{ => Wallets}/Logo_MagicLink.png | Bin .../{ => Wallets}/Logo_MagicLink.png.meta | 2 +- .../Sprites/{ => Wallets}/Logo_Metamask.png | Bin .../{ => Wallets}/Logo_Metamask.png.meta | 2 +- .../{ => Wallets}/Logo_WalletConnect.png | Bin .../{ => Wallets}/Logo_WalletConnect.png.meta | 2 +- 52 files changed, 3193 insertions(+), 283 deletions(-) create mode 100644 Assets/Thirdweb/Examples/Prefabs/Button_Network.prefab create mode 100644 Assets/Thirdweb/Examples/Prefabs/Button_Network.prefab.meta create mode 100644 Assets/Thirdweb/Examples/Scripts/Prefabs.meta rename Assets/Thirdweb/Examples/Scripts/{ => Prefabs}/Prefab_ConnectWallet.cs (52%) rename Assets/Thirdweb/Examples/Scripts/{ => Prefabs}/Prefab_ConnectWallet.cs.meta (100%) rename Assets/Thirdweb/Examples/Scripts/{ => Prefabs}/Prefab_NFT.cs (100%) rename Assets/Thirdweb/Examples/Scripts/{ => Prefabs}/Prefab_NFT.cs.meta (100%) rename Assets/Thirdweb/Examples/Scripts/{ => Prefabs}/Prefab_NFTLoader.cs (100%) rename Assets/Thirdweb/Examples/Scripts/{ => Prefabs}/Prefab_NFTLoader.cs.meta (100%) create mode 100644 Assets/Thirdweb/Examples/Scripts/Prefabs/ThirdwebManager.cs rename Assets/Thirdweb/Examples/Scripts/{ => Prefabs}/ThirdwebManager.cs.meta (100%) delete mode 100644 Assets/Thirdweb/Examples/Scripts/ThirdwebManager.cs rename Assets/Thirdweb/Examples/Scripts/{UI.meta => Utils.meta} (100%) rename Assets/Thirdweb/Examples/Scripts/{UI => Utils}/LoadingSpinner.cs (100%) rename Assets/Thirdweb/Examples/Scripts/{UI => Utils}/LoadingSpinner.cs.meta (100%) create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains.meta create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/arbitrum.png create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/arbitrum.png.meta create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/avalanche.png create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/avalanche.png.meta create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/binance.png create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/binance.png.meta create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/ethereum.png create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/ethereum.png.meta create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/fantom.png create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/fantom.png.meta create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/optimism.png create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/optimism.png.meta create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/polygon.png create mode 100644 Assets/Thirdweb/Examples/Sprites/Chains/polygon.png.meta create mode 100644 Assets/Thirdweb/Examples/Sprites/UI.meta create mode 100644 Assets/Thirdweb/Examples/Sprites/UI/Button_Rounded.png create mode 100644 Assets/Thirdweb/Examples/Sprites/UI/Button_Rounded.png.meta rename Assets/Thirdweb/Examples/Sprites/{ => UI}/Icon_DownArrow.png (100%) rename Assets/Thirdweb/Examples/Sprites/{ => UI}/Icon_DownArrow.png.meta (99%) create mode 100644 Assets/Thirdweb/Examples/Sprites/UI/Square_Rounded.png create mode 100644 Assets/Thirdweb/Examples/Sprites/UI/Square_Rounded.png.meta create mode 100644 Assets/Thirdweb/Examples/Sprites/Wallets.meta rename Assets/Thirdweb/Examples/Sprites/{ => Wallets}/Logo_Coinbase.png (100%) rename Assets/Thirdweb/Examples/Sprites/{ => Wallets}/Logo_Coinbase.png.meta (99%) rename Assets/Thirdweb/Examples/Sprites/{ => Wallets}/Logo_Injected.png (100%) rename Assets/Thirdweb/Examples/Sprites/{ => Wallets}/Logo_Injected.png.meta (99%) rename Assets/Thirdweb/Examples/Sprites/{ => Wallets}/Logo_MagicLink.png (100%) rename Assets/Thirdweb/Examples/Sprites/{ => Wallets}/Logo_MagicLink.png.meta (99%) rename Assets/Thirdweb/Examples/Sprites/{ => Wallets}/Logo_Metamask.png (100%) rename Assets/Thirdweb/Examples/Sprites/{ => Wallets}/Logo_Metamask.png.meta (99%) rename Assets/Thirdweb/Examples/Sprites/{ => Wallets}/Logo_WalletConnect.png (100%) rename Assets/Thirdweb/Examples/Sprites/{ => Wallets}/Logo_WalletConnect.png.meta (99%) diff --git a/Assets/Thirdweb/Examples/Prefabs/Button_Network.prefab b/Assets/Thirdweb/Examples/Prefabs/Button_Network.prefab new file mode 100644 index 00000000..0b46c391 --- /dev/null +++ b/Assets/Thirdweb/Examples/Prefabs/Button_Network.prefab @@ -0,0 +1,352 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &6070093235809079241 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6252264846742488137} + - component: {fileID: 4840009213899470496} + - component: {fileID: 1214446971914853823} + - component: {fileID: 5698909282394971855} + - component: {fileID: 5086520536032440795} + m_Layer: 5 + m_Name: Button_Network + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6252264846742488137 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6070093235809079241} + 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: + - {fileID: 4614855738600052040} + - {fileID: 6242724169764470168} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 66.393005} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4840009213899470496 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6070093235809079241} + m_CullTransparentMesh: 1 +--- !u!114 &1214446971914853823 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6070093235809079241} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.05882353, g: 0.07450981, b: 0.09411765, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &5698909282394971855 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6070093235809079241} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0.39215687, g: 0.42745098, b: 0.47843137, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!114 &5086520536032440795 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6070093235809079241} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1214446971914853823} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &7082484091574258271 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6242724169764470168} + - component: {fileID: 6431933690961859247} + - component: {fileID: 349034112917213220} + m_Layer: 5 + m_Name: Text_Network + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6242724169764470168 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7082484091574258271} + 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: 6252264846742488137} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 27.463, y: 0} + m_SizeDelta: {x: 211.878, y: 46.393} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &6431933690961859247 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7082484091574258271} + m_CullTransparentMesh: 1 +--- !u!114 &349034112917213220 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7082484091574258271} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: Ethereum + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4293585384 + m_fontColor: {r: 0.9098039, g: 0.9137255, b: 0.91764706, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 30 + m_fontSizeBase: 24 + m_fontWeight: 400 + m_enableAutoSizing: 1 + m_fontSizeMin: 12 + m_fontSizeMax: 30 + m_fontStyle: 1 + m_HorizontalAlignment: 1 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &7969392229332725308 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4614855738600052040} + - component: {fileID: 2839168596433015394} + - component: {fileID: 6316536253248527198} + m_Layer: 5 + m_Name: Icon_Network + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4614855738600052040 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7969392229332725308} + 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: 6252264846742488137} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 0, y: 0.5} + m_AnchoredPosition: {x: 9.591339, y: 0.000045776367} + m_SizeDelta: {x: 50, y: 46.393005} + m_Pivot: {x: 0, y: 0.5} +--- !u!222 &2839168596433015394 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7969392229332725308} + m_CullTransparentMesh: 1 +--- !u!114 &6316536253248527198 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7969392229332725308} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.9098039, g: 0.9137255, b: 0.91764706, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: bf76ffa047029554199b8d79b2306f6d, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 diff --git a/Assets/Thirdweb/Examples/Prefabs/Button_Network.prefab.meta b/Assets/Thirdweb/Examples/Prefabs/Button_Network.prefab.meta new file mode 100644 index 00000000..ff323782 --- /dev/null +++ b/Assets/Thirdweb/Examples/Prefabs/Button_Network.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 814bcc588eda3914ab104d1c06491bc8 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Thirdweb/Examples/Prefabs/Prefab_ConnectWallet.prefab b/Assets/Thirdweb/Examples/Prefabs/Prefab_ConnectWallet.prefab index 8de76d57..12b53e24 100644 --- a/Assets/Thirdweb/Examples/Prefabs/Prefab_ConnectWallet.prefab +++ b/Assets/Thirdweb/Examples/Prefabs/Prefab_ConnectWallet.prefab @@ -31,13 +31,13 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1620813799} - m_RootOrder: 0 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 31.773, y: -5.647} - m_SizeDelta: {x: -93.546, y: 31.957} - m_Pivot: {x: 0.5, y: 1} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: 0, y: 20} + m_SizeDelta: {x: -200, y: 20} + m_Pivot: {x: 0.5, y: 0} --- !u!222 &262581969 CanvasRenderer: m_ObjectHideFlags: 0 @@ -75,8 +75,8 @@ MonoBehaviour: m_fontMaterials: [] m_fontColor32: serializedVersion: 2 - rgba: 4293585384 - m_fontColor: {r: 0.9098039, g: 0.9137255, b: 0.91764706, a: 1} + rgba: 4286213476 + m_fontColor: {r: 0.39215687, g: 0.42745098, b: 0.47843137, a: 1} m_enableVertexGradient: 0 m_colorMode: 3 m_fontColorGradient: @@ -93,14 +93,14 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 28.6 + m_fontSize: 17.9 m_fontSizeBase: 36 m_fontWeight: 400 m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 35 + m_fontSizeMin: 12 + m_fontSizeMax: 30 m_fontStyle: 1 - m_HorizontalAlignment: 4 + m_HorizontalAlignment: 1 m_VerticalAlignment: 512 m_textAlignment: 65535 m_characterSpacing: 0 @@ -339,7 +339,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Sprite: {fileID: 0} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -404,8 +404,7 @@ GameObject: - component: {fileID: 472489314} - component: {fileID: 472489318} - component: {fileID: 472489317} - - component: {fileID: 472489316} - - component: {fileID: 472489315} + - component: {fileID: 6839975504001979788} m_Layer: 5 m_Name: Dropdown_Connected m_TagString: Untagged @@ -427,13 +426,15 @@ RectTransform: m_Children: - {fileID: 2050955167} - {fileID: 1650537830} + - {fileID: 6349882286439884014} + - {fileID: 374275289415111535} m_Father: {fileID: 1620813799} - m_RootOrder: 3 + m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -0.000061035156, y: -91} - m_SizeDelta: {x: 0.000061035156, y: 0} + m_AnchoredPosition: {x: 0.00039672852, y: -91} + m_SizeDelta: {x: -0.00036621, y: 301.474} m_Pivot: {x: 0.5, y: 1} --- !u!222 &472489318 CanvasRenderer: @@ -456,14 +457,14 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.9098039, g: 0.9137255, b: 0.91764706, a: 0.39215687} + m_Color: {r: 0.05882353, g: 0.07450981, b: 0.09411765, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 0} + m_Sprite: {fileID: 21300000, guid: b76cae3a9e6c6c64ea2e8298a30544d8, type: 3} m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 @@ -473,21 +474,7 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!114 &472489316 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 472489313} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalFit: 0 - m_VerticalFit: 2 ---- !u!114 &472489315 +--- !u!114 &6839975504001979788 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -496,23 +483,12 @@ MonoBehaviour: m_GameObject: {fileID: 472489313} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} m_Name: m_EditorClassIdentifier: - m_Padding: - m_Left: 3 - m_Right: 3 - m_Top: 3 - m_Bottom: 3 - m_ChildAlignment: 0 - m_Spacing: 0 - m_ChildForceExpandWidth: 1 - m_ChildForceExpandHeight: 1 - m_ChildControlWidth: 1 - m_ChildControlHeight: 0 - m_ChildScaleWidth: 0 - m_ChildScaleHeight: 0 - m_ReverseArrangement: 0 + m_EffectColor: {r: 0.16470589, g: 0.18039216, b: 0.2, a: 1} + m_EffectDistance: {x: 2, y: -3} + m_UseGraphicAlpha: 1 --- !u!1 &614461696 GameObject: m_ObjectHideFlags: 0 @@ -658,7 +634,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Sprite: {fileID: 0} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -935,7 +911,7 @@ GameObject: - component: {fileID: 1023072757} - component: {fileID: 1023072756} m_Layer: 5 - m_Name: Image_Disconnect + m_Name: Icon_Connected m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -958,8 +934,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 15, y: 0} - m_SizeDelta: {x: 75, y: 0} + m_AnchoredPosition: {x: 25, y: 0} + m_SizeDelta: {x: 50, y: -20} m_Pivot: {x: 0, y: 0.5} --- !u!222 &1023072757 CanvasRenderer: @@ -1068,7 +1044,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Sprite: {fileID: 0} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -1134,7 +1110,7 @@ GameObject: - component: {fileID: 1115114127} - component: {fileID: 1115114126} m_Layer: 5 - m_Name: Text_Disconnect + m_Name: Text_Connected m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -1157,8 +1133,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 0.5} m_AnchorMax: {x: 1, y: 0.5} - m_AnchoredPosition: {x: 0.00015258789, y: 0} - m_SizeDelta: {x: 320, y: 76} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 250, y: 76} m_Pivot: {x: 1, y: 0.5} --- !u!222 &1115114127 CanvasRenderer: @@ -1215,14 +1191,14 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 35 + m_fontSize: 30 m_fontSizeBase: 24 m_fontWeight: 400 m_enableAutoSizing: 1 m_fontSizeMin: 18 - m_fontSizeMax: 35 + m_fontSizeMax: 30 m_fontStyle: 1 - m_HorizontalAlignment: 2 + m_HorizontalAlignment: 1 m_VerticalAlignment: 512 m_textAlignment: 65535 m_characterSpacing: 0 @@ -1404,7 +1380,7 @@ GameObject: - component: {fileID: 1430547141} - component: {fileID: 1430547140} m_Layer: 5 - m_Name: Image_Dropdown + m_Name: Image_Wallet m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -1425,11 +1401,11 @@ RectTransform: m_Father: {fileID: 1620813799} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0.5} - m_AnchorMax: {x: 0, y: 0.5} - m_AnchoredPosition: {x: 25, y: 0} + m_AnchorMin: {x: 1, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -25, y: 0} m_SizeDelta: {x: 50, y: 50} - m_Pivot: {x: 0, y: 0.5} + m_Pivot: {x: 1, y: 0.5} --- !u!222 &1430547141 CanvasRenderer: m_ObjectHideFlags: 0 @@ -1458,7 +1434,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 34adbe06ddf43a74b9cf3d57271e9984, type: 3} + m_Sprite: {fileID: 21300000, guid: 217680bfb64fc074392309113986a3ee, type: 3} m_Type: 0 m_PreserveAspect: 1 m_FillCenter: 1 @@ -1480,7 +1456,7 @@ GameObject: - component: {fileID: 1457839851} - component: {fileID: 1457839850} m_Layer: 5 - m_Name: Text_ConnectInfo + m_Name: Text_Balance m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -1499,13 +1475,13 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1620813799} - m_RootOrder: 1 + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 0.5} - m_AnchorMax: {x: 1, y: 0.5} - m_AnchoredPosition: {x: -15, y: -15.979} - m_SizeDelta: {x: 413.313, y: 27.957} - m_Pivot: {x: 1, y: 0.5} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: -20} + m_SizeDelta: {x: -200, y: 30} + m_Pivot: {x: 0.5, y: 1} --- !u!222 &1457839851 CanvasRenderer: m_ObjectHideFlags: 0 @@ -1534,7 +1510,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: Ethereum + m_text: 0.000 ETH m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} @@ -1543,8 +1519,8 @@ MonoBehaviour: m_fontMaterials: [] m_fontColor32: serializedVersion: 2 - rgba: 4291610567 - m_fontColor: {r: 0.78039217, g: 0.78039217, b: 0.8, a: 1} + rgba: 4293585384 + m_fontColor: {r: 0.9098039, g: 0.9137255, b: 0.91764706, a: 1} m_enableVertexGradient: 0 m_colorMode: 3 m_fontColorGradient: @@ -1561,14 +1537,14 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 25 + m_fontSize: 26.85 m_fontSizeBase: 36 m_fontWeight: 400 m_enableAutoSizing: 1 - m_fontSizeMin: 18 + m_fontSizeMin: 12 m_fontSizeMax: 30 m_fontStyle: 1 - m_HorizontalAlignment: 4 + m_HorizontalAlignment: 1 m_VerticalAlignment: 512 m_textAlignment: 65535 m_characterSpacing: 0 @@ -1638,8 +1614,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 0.5} m_AnchorMax: {x: 1, y: 0.5} - m_AnchoredPosition: {x: 0.00015258789, y: 0} - m_SizeDelta: {x: 320, y: 76} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 250, y: 76} m_Pivot: {x: 1, y: 0.5} --- !u!222 &1518357645 CanvasRenderer: @@ -1696,14 +1672,14 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 35 + m_fontSize: 30 m_fontSizeBase: 24 m_fontWeight: 400 m_enableAutoSizing: 1 m_fontSizeMin: 18 - m_fontSizeMax: 35 + m_fontSizeMax: 30 m_fontStyle: 1 - m_HorizontalAlignment: 2 + m_HorizontalAlignment: 1 m_VerticalAlignment: 512 m_textAlignment: 65535 m_characterSpacing: 0 @@ -1770,17 +1746,18 @@ RectTransform: m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 262581967} - {fileID: 1457839849} + - {fileID: 262581967} - {fileID: 1430547139} + - {fileID: 1028326792655154393} - {fileID: 472489314} m_Father: {fileID: 6539300962087038060} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 0.5} m_AnchorMax: {x: 1, y: 0.5} - m_AnchoredPosition: {x: -50, y: 26.896} - m_SizeDelta: {x: 420, y: 71.208} + m_AnchoredPosition: {x: -50, y: 29.2805} + m_SizeDelta: {x: 400, y: 100} m_Pivot: {x: 1, y: 0.5} --- !u!222 &1620813803 CanvasRenderer: @@ -1810,8 +1787,8 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} - m_Type: 1 + m_Sprite: {fileID: 21300000, guid: 32532f23fc2e95a47a835f012b1af6b5, type: 3} + m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 @@ -1842,7 +1819,7 @@ MonoBehaviour: m_Transition: 1 m_Colors: m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1} + m_HighlightedColor: {r: 0.05882353, g: 0.07450981, b: 0.09411765, a: 1} m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} @@ -1888,8 +1865,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} m_Name: m_EditorClassIdentifier: - m_EffectColor: {r: 0.9098039, g: 0.9137255, b: 0.91764706, a: 1} - m_EffectDistance: {x: 1, y: -1} + m_EffectColor: {r: 0.39215687, g: 0.42745098, b: 0.47843137, a: 1} + m_EffectDistance: {x: 3, y: 2} m_UseGraphicAlpha: 1 --- !u!1 &1650537829 GameObject: @@ -1927,11 +1904,11 @@ RectTransform: m_Father: {fileID: 472489314} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 66.393} - m_Pivot: {x: 0.5, y: 0.5} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0.00024414062, y: -66.39305} + m_SizeDelta: {x: 0, y: 66.393005} + m_Pivot: {x: 0.5, y: 1} --- !u!222 &1650537833 CanvasRenderer: m_ObjectHideFlags: 0 @@ -1992,7 +1969,7 @@ MonoBehaviour: m_Transition: 1 m_Colors: m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_HighlightedColor: {r: 0.105882354, g: 0.12941177, b: 0.16078432, a: 1} m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} @@ -2114,7 +2091,7 @@ GameObject: - component: {fileID: 1952290543} - component: {fileID: 1952290542} m_Layer: 5 - m_Name: Image_Disconnect + m_Name: Icon_Disconnect m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -2137,8 +2114,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 15, y: 0} - m_SizeDelta: {x: 75, y: 0} + m_AnchoredPosition: {x: 25, y: 0} + m_SizeDelta: {x: 50, y: -20} m_Pivot: {x: 0, y: 0.5} --- !u!222 &1952290543 CanvasRenderer: @@ -2213,11 +2190,11 @@ RectTransform: m_Father: {fileID: 472489314} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 66.393} - m_Pivot: {x: 0.5, y: 0.5} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 1} + m_SizeDelta: {x: 2, y: 71.282} + m_Pivot: {x: 0.5, y: 1} --- !u!222 &2050955169 CanvasRenderer: m_ObjectHideFlags: 0 @@ -2290,11 +2267,11 @@ RectTransform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchorMin: {x: 1, y: 1} + m_AnchorMax: {x: 1, y: 1} m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 600, y: 200} - m_Pivot: {x: 0.5, y: 0.5} + m_Pivot: {x: 1, y: 1} --- !u!114 &1335404546467394145 MonoBehaviour: m_ObjectHideFlags: 0 @@ -2308,6 +2285,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: supportedWallets: 000000000100000002000000 + supportSwitchingNetwork: 1 connectButton: {fileID: 1335404547334051784} connectDropdown: {fileID: 1335404547797609896} walletButtons: @@ -2325,9 +2303,44 @@ MonoBehaviour: icon: {fileID: 21300000, guid: 59f310e18bee0db49a8061c8ff8b9743, type: 3} connectedButton: {fileID: 1620813798} connectedDropdown: {fileID: 472489313} - connectInfoText: {fileID: 1457839850} + balanceText: {fileID: 1457839850} walletAddressText: {fileID: 262581968} - dropdownIcon: {fileID: 1430547140} + walletImage: {fileID: 1430547140} + currentNetworkText: {fileID: 270904384543002881} + currentNetworkImage: {fileID: 1390862793022922592} + chainImage: {fileID: 4426890310649894616} + networkSwitchButton: {fileID: 8064088946564898694} + networkDropdown: {fileID: 8325283099334609011} + networkButtonPrefab: {fileID: 6070093235809079241, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + networkSprites: + - chain: 1 + sprite: {fileID: 21300000, guid: bf76ffa047029554199b8d79b2306f6d, type: 3} + - chain: 5 + sprite: {fileID: 21300000, guid: bf76ffa047029554199b8d79b2306f6d, type: 3} + - chain: 137 + sprite: {fileID: 21300000, guid: a4ac9bda74166b740bf880e481d41f55, type: 3} + - chain: 80001 + sprite: {fileID: 21300000, guid: a4ac9bda74166b740bf880e481d41f55, type: 3} + - chain: 250 + sprite: {fileID: 21300000, guid: 54be2d2440a31164f8679e1bd550abf9, type: 3} + - chain: 4002 + sprite: {fileID: 21300000, guid: 54be2d2440a31164f8679e1bd550abf9, type: 3} + - chain: 43114 + sprite: {fileID: 21300000, guid: 3fe24f7fb0232e844988758a3ba03773, type: 3} + - chain: 43113 + sprite: {fileID: 21300000, guid: 3fe24f7fb0232e844988758a3ba03773, type: 3} + - chain: 10 + sprite: {fileID: 21300000, guid: b5be42ae0f66ca441beff78a90fe1680, type: 3} + - chain: 420 + sprite: {fileID: 21300000, guid: b5be42ae0f66ca441beff78a90fe1680, type: 3} + - chain: 42161 + sprite: {fileID: 21300000, guid: 44b9a8a5b27749046b8fe998a084c7cc, type: 3} + - chain: 421613 + sprite: {fileID: 21300000, guid: 44b9a8a5b27749046b8fe998a084c7cc, type: 3} + - chain: 56 + sprite: {fileID: 21300000, guid: 427f73b440444d3428c9d1101f7c0646, type: 3} + - chain: 97 + sprite: {fileID: 21300000, guid: 427f73b440444d3428c9d1101f7c0646, type: 3} --- !u!1 &1335404546301859018 GameObject: m_ObjectHideFlags: 0 @@ -2361,10 +2374,10 @@ RectTransform: m_Father: {fileID: 1335404547334051785} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -10, y: -2.5000038} - m_SizeDelta: {x: 46.017, y: -4.999993} + m_AnchorMin: {x: 1, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -30, y: 0.000012159} + m_SizeDelta: {x: 30, y: 30} m_Pivot: {x: 1, y: 0.5} --- !u!222 &1335404546301859017 CanvasRenderer: @@ -2387,7 +2400,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Color: {r: 0, g: 0, b: 0, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 @@ -2473,7 +2486,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Sprite: {fileID: 0} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -2695,10 +2708,10 @@ RectTransform: m_Father: {fileID: 1335404547334051785} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 25, y: 0} - m_SizeDelta: {x: 404.976, y: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 0, y: 0.5} + m_AnchoredPosition: {x: 30, y: 0.000061035156} + m_SizeDelta: {x: 252.273, y: 61.208} m_Pivot: {x: 0, y: 0.5} --- !u!222 &1335404547121006185 CanvasRenderer: @@ -2737,8 +2750,8 @@ MonoBehaviour: m_fontMaterials: [] m_fontColor32: serializedVersion: 2 - rgba: 4293585384 - m_fontColor: {r: 0.9098039, g: 0.9137255, b: 0.91764706, a: 1} + rgba: 4279767823 + m_fontColor: {r: 0.05882353, g: 0.07450981, b: 0.09411765, a: 1} m_enableVertexGradient: 0 m_colorMode: 3 m_fontColorGradient: @@ -2755,12 +2768,12 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 40 + m_fontSize: 30 m_fontSizeBase: 36 m_fontWeight: 400 m_enableAutoSizing: 1 m_fontSizeMin: 18 - m_fontSizeMax: 40 + m_fontSizeMax: 30 m_fontStyle: 1 m_HorizontalAlignment: 2 m_VerticalAlignment: 512 @@ -2837,7 +2850,7 @@ RectTransform: m_AnchorMin: {x: 1, y: 0.5} m_AnchorMax: {x: 1, y: 0.5} m_AnchoredPosition: {x: -50, y: 26.896} - m_SizeDelta: {x: 506.86, y: 71.208} + m_SizeDelta: {x: 400, y: 100} m_Pivot: {x: 1, y: 0.5} --- !u!222 &1335404547334051780 CanvasRenderer: @@ -2860,15 +2873,15 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.05490196, g: 0.64705884, b: 0.9137255, a: 1} + m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} - m_Type: 1 + m_Sprite: {fileID: 21300000, guid: 32532f23fc2e95a47a835f012b1af6b5, type: 3} + m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 @@ -2899,7 +2912,7 @@ MonoBehaviour: m_Transition: 1 m_Colors: m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} @@ -2934,6 +2947,7 @@ GameObject: - component: {fileID: 1335404547797609892} - component: {fileID: 1335404547797609895} - component: {fileID: 1335404547797609894} + - component: {fileID: 7098845079220840692} m_Layer: 5 m_Name: Dropdown_Connect m_TagString: Untagged @@ -2962,8 +2976,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: -87.60397} - m_SizeDelta: {x: 0, y: 0} + m_AnchoredPosition: {x: -68.843, y: -110} + m_SizeDelta: {x: 137.686, y: 0} m_Pivot: {x: 0.5, y: 1} --- !u!222 &1335404547797609893 CanvasRenderer: @@ -2986,14 +3000,14 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.9098039, g: 0.9137255, b: 0.91764706, a: 0.39215687} + m_Color: {r: 0.05882353, g: 0.07450981, b: 0.09411765, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 0} + m_Sprite: {fileID: 21300000, guid: b76cae3a9e6c6c64ea2e8298a30544d8, type: 3} m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 @@ -3030,10 +3044,10 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Padding: - m_Left: 3 - m_Right: 3 - m_Top: 3 - m_Bottom: 3 + m_Left: 15 + m_Right: 15 + m_Top: 5 + m_Bottom: 5 m_ChildAlignment: 0 m_Spacing: 0 m_ChildForceExpandWidth: 1 @@ -3043,6 +3057,21 @@ MonoBehaviour: m_ChildScaleWidth: 0 m_ChildScaleHeight: 0 m_ReverseArrangement: 0 +--- !u!114 &7098845079220840692 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1335404547797609896} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0.16470589, g: 0.18039216, b: 0.2, a: 1} + m_EffectDistance: {x: 3, y: -4} + m_UseGraphicAlpha: 1 --- !u!1 &1335404547993690017 GameObject: m_ObjectHideFlags: 0 @@ -3119,3 +3148,1174 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!1 &2124987408961011942 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 374275289415111535} + - component: {fileID: 9189262661601600786} + - component: {fileID: 4338101652280538293} + - component: {fileID: 5104148061329169901} + m_Layer: 5 + m_Name: Image_CurrentNetwork + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &374275289415111535 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2124987408961011942} + 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: + - {fileID: 7319546862338183358} + - {fileID: 7691043537653127729} + - {fileID: 4596388660774414208} + m_Father: {fileID: 472489314} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -11.3597145, y: -93.70262} + m_SizeDelta: {x: -72.71943, y: 66.393005} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &9189262661601600786 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2124987408961011942} + m_CullTransparentMesh: 1 +--- !u!114 &4338101652280538293 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2124987408961011942} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.05882353, g: 0.07450981, b: 0.09411765, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &5104148061329169901 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2124987408961011942} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0.39215687, g: 0.42745098, b: 0.47843137, a: 1} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1 &3483875505141020193 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8037421803041044588} + - component: {fileID: 4733268422659258599} + - component: {fileID: 6150100120121816934} + m_Layer: 5 + m_Name: Image_SwitchNetwork + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8037421803041044588 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3483875505141020193} + m_LocalRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071068} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4596388660774414208} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 111.5, y: -0.89997864} + m_SizeDelta: {x: 23.139078, y: 25} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4733268422659258599 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3483875505141020193} + m_CullTransparentMesh: 1 +--- !u!114 &6150100120121816934 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3483875505141020193} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.39215687, g: 0.42745098, b: 0.47843137, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 34adbe06ddf43a74b9cf3d57271e9984, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &4590803352374413004 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7319546862338183358} + - component: {fileID: 2819410001306990907} + - component: {fileID: 1390862793022922592} + m_Layer: 5 + m_Name: Icon_CurrentNetwork + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7319546862338183358 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4590803352374413004} + 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: 374275289415111535} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 0, y: 0.5} + m_AnchoredPosition: {x: 9.591339, y: 0.000045776367} + m_SizeDelta: {x: 50, y: 46.393005} + m_Pivot: {x: 0, y: 0.5} +--- !u!222 &2819410001306990907 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4590803352374413004} + m_CullTransparentMesh: 1 +--- !u!114 &1390862793022922592 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4590803352374413004} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.9098039, g: 0.9137255, b: 0.91764706, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: bf76ffa047029554199b8d79b2306f6d, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &5144971401633981691 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6349882286439884014} + - component: {fileID: 1387033406961704232} + - component: {fileID: 5418627886089581766} + m_Layer: 5 + m_Name: Label_CurrentNetwork + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6349882286439884014 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5144971401633981691} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1.0000145, y: 1.0000145, z: 1.0000145} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 472489314} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -11.36125, y: -24} + m_SizeDelta: {x: -72.7225, y: 45.546} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1387033406961704232 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5144971401633981691} + m_CullTransparentMesh: 1 +--- !u!114 &5418627886089581766 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5144971401633981691} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: Current Network + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4286213476 + m_fontColor: {r: 0.39215687, g: 0.42745098, b: 0.47843137, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 25 + m_fontSizeBase: 24 + m_fontWeight: 400 + m_enableAutoSizing: 1 + m_fontSizeMin: 18 + m_fontSizeMax: 25 + m_fontStyle: 1 + m_HorizontalAlignment: 1 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &5343358770701844626 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1028326792655154393} + - component: {fileID: 8399191895057662164} + - component: {fileID: 4426890310649894616} + m_Layer: 5 + m_Name: Image_Chain + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1028326792655154393 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5343358770701844626} + 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: 1620813799} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 0, y: 0.5} + m_AnchoredPosition: {x: 25, y: 0} + m_SizeDelta: {x: 40, y: 40} + m_Pivot: {x: 0, y: 0.5} +--- !u!222 &8399191895057662164 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5343358770701844626} + m_CullTransparentMesh: 1 +--- !u!114 &4426890310649894616 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5343358770701844626} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.9098039, g: 0.9137255, b: 0.91764706, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: bf76ffa047029554199b8d79b2306f6d, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &8064088946564898694 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4596388660774414208} + - component: {fileID: 8929312564087959843} + - component: {fileID: 6694428681217959121} + - component: {fileID: 3117416379579058132} + m_Layer: 5 + m_Name: Button_SwitchNetwork + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4596388660774414208 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8064088946564898694} + 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: + - {fileID: 8037421803041044588} + - {fileID: 5263241086014312978} + m_Father: {fileID: 374275289415111535} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0.000091552734, y: 0} + m_SizeDelta: {x: 277.28, y: 0} + m_Pivot: {x: 1, y: 0.5} +--- !u!222 &8929312564087959843 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8064088946564898694} + m_CullTransparentMesh: 1 +--- !u!114 &6694428681217959121 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8064088946564898694} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0.003921569} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 34adbe06ddf43a74b9cf3d57271e9984, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &3117416379579058132 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8064088946564898694} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 6694428681217959121} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1335404546467394145} + m_TargetAssemblyTypeName: Prefab_ConnectWallet, Assembly-CSharp + m_MethodName: OnClickNetworkSwitch + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!1 &8325283099334609011 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5263241086014312978} + - component: {fileID: 8856659653986850489} + - component: {fileID: 4877689855037131826} + - component: {fileID: 5598352434837577393} + - component: {fileID: 1811288652066501630} + - component: {fileID: 8427014374948272845} + m_Layer: 5 + m_Name: Dropdown_Networks + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5263241086014312978 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8325283099334609011} + 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: + - {fileID: 8438017473816786819} + - {fileID: 5617547850687684258} + - {fileID: 869323735247564608} + m_Father: {fileID: 4596388660774414208} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0.052886963, y: -105.096466} + m_SizeDelta: {x: 94.8145, y: 0} + m_Pivot: {x: 0.5, y: 1} +--- !u!222 &8856659653986850489 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8325283099334609011} + m_CullTransparentMesh: 1 +--- !u!114 &4877689855037131826 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8325283099334609011} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.05882353, g: 0.07450981, b: 0.09411765, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: b76cae3a9e6c6c64ea2e8298a30544d8, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &5598352434837577393 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8325283099334609011} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0.16470589, g: 0.18039216, b: 0.2, a: 1} + m_EffectDistance: {x: 2, y: -3} + m_UseGraphicAlpha: 1 +--- !u!114 &1811288652066501630 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8325283099334609011} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 25 + m_Right: 25 + m_Top: 25 + m_Bottom: 25 + m_ChildAlignment: 0 + m_Spacing: 10 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 1 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!114 &8427014374948272845 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8325283099334609011} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 1 +--- !u!1 &8538860752507371671 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7691043537653127729} + - component: {fileID: 5373799137448726181} + - component: {fileID: 270904384543002881} + m_Layer: 5 + m_Name: Text_CurrentNetwork + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7691043537653127729 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8538860752507371671} + 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: 374275289415111535} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -48.139, y: 0} + m_SizeDelta: {x: 156.952, y: 46.393} + m_Pivot: {x: 1, y: 0.5} +--- !u!222 &5373799137448726181 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8538860752507371671} + m_CullTransparentMesh: 1 +--- !u!114 &270904384543002881 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8538860752507371671} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: Ethereum + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4293585384 + m_fontColor: {r: 0.9098039, g: 0.9137255, b: 0.91764706, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 30 + m_fontSizeBase: 24 + m_fontWeight: 400 + m_enableAutoSizing: 1 + m_fontSizeMin: 18 + m_fontSizeMax: 30 + m_fontStyle: 1 + m_HorizontalAlignment: 1 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1001 &1959360237970397931 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 5263241086014312978} + m_Modifications: + - target: {fileID: 6070093235809079241, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_Name + value: Button_Network (1) + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_SizeDelta.y + value: 66.393005 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} +--- !u!224 &5617547850687684258 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + m_PrefabInstance: {fileID: 1959360237970397931} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &2584325042676233162 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 5263241086014312978} + m_Modifications: + - target: {fileID: 6070093235809079241, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_Name + value: Button_Network + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_SizeDelta.y + value: 66.393005 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} +--- !u!224 &8438017473816786819 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + m_PrefabInstance: {fileID: 2584325042676233162} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &6545125076537223945 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 5263241086014312978} + m_Modifications: + - target: {fileID: 6070093235809079241, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_Name + value: Button_Network (2) + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_SizeDelta.y + value: 66.393005 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} +--- !u!224 &869323735247564608 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 6252264846742488137, guid: 814bcc588eda3914ab104d1c06491bc8, type: 3} + m_PrefabInstance: {fileID: 6545125076537223945} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Thirdweb/Examples/Prefabs/Prefab_NFTLoader.prefab b/Assets/Thirdweb/Examples/Prefabs/Prefab_NFTLoader.prefab index 7fbdba58..75018af0 100644 --- a/Assets/Thirdweb/Examples/Prefabs/Prefab_NFTLoader.prefab +++ b/Assets/Thirdweb/Examples/Prefabs/Prefab_NFTLoader.prefab @@ -126,7 +126,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0.000061035156, y: -0.000030517578} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &1500719428 @@ -317,10 +317,10 @@ RectTransform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 2000, y: 1000} + m_SizeDelta: {x: -1412, y: -520} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &7702873693426126319 CanvasRenderer: @@ -759,7 +759,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: Prefab_NFTLoader + m_text: NFT Gallery Demo m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} @@ -866,10 +866,10 @@ RectTransform: m_Father: {fileID: 7702873693426126306} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.000061035, y: -41.575} - m_SizeDelta: {x: 1970, y: 841.983} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: -41.57498} + m_SizeDelta: {x: -30, y: -100} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &7702873694496852567 CanvasRenderer: @@ -1188,7 +1188,7 @@ MonoBehaviour: m_HandleRect: {fileID: 7216536800389251089} m_Direction: 2 m_Value: 1 - m_Size: 0.561322 + m_Size: 0.8666667 m_NumberOfSteps: 0 m_OnValueChanged: m_PersistentCalls: diff --git a/Assets/Thirdweb/Examples/Prefabs/ThirdwebManager.prefab b/Assets/Thirdweb/Examples/Prefabs/ThirdwebManager.prefab index 648a1511..9fae14fa 100644 --- a/Assets/Thirdweb/Examples/Prefabs/ThirdwebManager.prefab +++ b/Assets/Thirdweb/Examples/Prefabs/ThirdwebManager.prefab @@ -44,4 +44,5 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 56d9559a79e304f44b5ac4d726f1ee68, type: 3} m_Name: m_EditorClassIdentifier: - chain: goerli + chain: 5 + supportedNetworks: 01000000050000008900000081380100 diff --git a/Assets/Thirdweb/Examples/Scenes/Scene_Prefabs.unity b/Assets/Thirdweb/Examples/Scenes/Scene_Prefabs.unity index de8f76e3..7edc3303 100644 --- a/Assets/Thirdweb/Examples/Scenes/Scene_Prefabs.unity +++ b/Assets/Thirdweb/Examples/Scenes/Scene_Prefabs.unity @@ -563,10 +563,6 @@ PrefabInstance: propertyPath: m_AnchoredPosition.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 472489314, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} - propertyPath: m_SizeDelta.y - value: 0 - objectReference: {fileID: 0} - target: {fileID: 679192014, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchorMax.y value: 0 @@ -607,74 +603,78 @@ PrefabInstance: propertyPath: m_AnchoredPosition.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 1650537830, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 696252699284340127, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + propertyPath: m_Name + value: Prefab_ConnectWallet + objectReference: {fileID: 0} + - target: {fileID: 869323735247564608, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchorMax.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 1650537830, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 869323735247564608, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchorMin.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 1650537830, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 869323735247564608, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_SizeDelta.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 1650537830, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 869323735247564608, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchoredPosition.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 1650537830, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 869323735247564608, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchoredPosition.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 2050955167, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 1335404546759128317, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchorMax.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 2050955167, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 1335404546759128317, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchorMin.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 2050955167, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 1335404546759128317, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_SizeDelta.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 2050955167, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 1335404546759128317, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchoredPosition.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 2050955167, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 1335404546759128317, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchoredPosition.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 696252699284340127, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} - propertyPath: m_Name - value: Prefab_ConnectWallet + - target: {fileID: 1335404547797609897, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + propertyPath: m_SizeDelta.y + value: 0 objectReference: {fileID: 0} - - target: {fileID: 1335404546759128317, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 5263241086014312978, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5617547850687684258, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchorMax.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 1335404546759128317, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 5617547850687684258, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchorMin.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 1335404546759128317, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 5617547850687684258, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_SizeDelta.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 1335404546759128317, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 5617547850687684258, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchoredPosition.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 1335404546759128317, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + - target: {fileID: 5617547850687684258, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchoredPosition.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 1335404547797609897, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} - propertyPath: m_SizeDelta.y - value: 0 - objectReference: {fileID: 0} - target: {fileID: 6539300962087038060, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_Pivot.x value: 1 @@ -745,7 +745,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6539300962087038060, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -30 objectReference: {fileID: 0} - target: {fileID: 6539300962087038060, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -759,6 +759,26 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 8438017473816786819, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8438017473816786819, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8438017473816786819, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8438017473816786819, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8438017473816786819, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: a6218c0a90161f349bc6bc87fbc624da, type: 3} --- !u!224 &1335404546467394143 stripped @@ -773,6 +793,18 @@ PrefabInstance: m_Modification: m_TransformParent: {fileID: 0} m_Modifications: + - target: {fileID: 4404896360829706404, guid: 379ed01658d62a14484f953196ff19db, type: 3} + propertyPath: supportedNetworks.Array.size + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 4404896360829706404, guid: 379ed01658d62a14484f953196ff19db, type: 3} + propertyPath: supportedNetworks.Array.data[4] + value: 10 + objectReference: {fileID: 0} + - target: {fileID: 4404896360829706404, guid: 379ed01658d62a14484f953196ff19db, type: 3} + propertyPath: supportedNetworks.Array.data[5] + value: 420 + objectReference: {fileID: 0} - target: {fileID: 4404896360829706405, guid: 379ed01658d62a14484f953196ff19db, type: 3} propertyPath: m_RootOrder value: 2 @@ -830,10 +862,6 @@ PrefabInstance: m_Modification: m_TransformParent: {fileID: 574059470} m_Modifications: - - target: {fileID: 1500719426, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - target: {fileID: 282645570056630254, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} propertyPath: m_AnchorMax.y value: 0 @@ -1244,27 +1272,27 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7702873693426126306, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} propertyPath: m_AnchorMax.x - value: 0.5 + value: 1 objectReference: {fileID: 0} - target: {fileID: 7702873693426126306, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} propertyPath: m_AnchorMax.y - value: 0.5 + value: 1 objectReference: {fileID: 0} - target: {fileID: 7702873693426126306, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} propertyPath: m_AnchorMin.x - value: 0.5 + value: 0 objectReference: {fileID: 0} - target: {fileID: 7702873693426126306, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} propertyPath: m_AnchorMin.y - value: 0.5 + value: 0 objectReference: {fileID: 0} - target: {fileID: 7702873693426126306, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} propertyPath: m_SizeDelta.x - value: 2000 + value: -1412 objectReference: {fileID: 0} - target: {fileID: 7702873693426126306, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} propertyPath: m_SizeDelta.y - value: 1400 + value: -520 objectReference: {fileID: 0} - target: {fileID: 7702873693426126306, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} propertyPath: m_LocalPosition.x @@ -1334,13 +1362,5 @@ PrefabInstance: propertyPath: m_SizeDelta.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 7702873694383071170, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} - propertyPath: m_text - value: NFT Gallery Demo - objectReference: {fileID: 0} - - target: {fileID: 7702873694496852586, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} - propertyPath: m_SizeDelta.y - value: 1300 - objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} diff --git a/Assets/Thirdweb/Examples/Scripts/Prefabs.meta b/Assets/Thirdweb/Examples/Scripts/Prefabs.meta new file mode 100644 index 00000000..c8e5b866 --- /dev/null +++ b/Assets/Thirdweb/Examples/Scripts/Prefabs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4f8e666bcfc9fdc478c4da4b86cf283c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Thirdweb/Examples/Scripts/Prefab_ConnectWallet.cs b/Assets/Thirdweb/Examples/Scripts/Prefabs/Prefab_ConnectWallet.cs similarity index 52% rename from Assets/Thirdweb/Examples/Scripts/Prefab_ConnectWallet.cs rename to Assets/Thirdweb/Examples/Scripts/Prefabs/Prefab_ConnectWallet.cs index f4df23ee..8683367d 100644 --- a/Assets/Thirdweb/Examples/Scripts/Prefab_ConnectWallet.cs +++ b/Assets/Thirdweb/Examples/Scripts/Prefabs/Prefab_ConnectWallet.cs @@ -21,10 +21,18 @@ public struct WalletButton public Sprite icon; } +[Serializable] +public struct NetworkSprite +{ + public Chain chain; + public Sprite sprite; +} + public class Prefab_ConnectWallet : MonoBehaviour { [Header("SETTINGS")] public List supportedWallets = new List { Wallet.MetaMask, Wallet.CoinbaseWallet, Wallet.WalletConnect }; + public bool supportSwitchingNetwork = false; [Header("UI ELEMENTS (DO NOT EDIT)")] // Connecting @@ -34,11 +42,21 @@ public class Prefab_ConnectWallet : MonoBehaviour // Connected public GameObject connectedButton; public GameObject connectedDropdown; - public TMP_Text connectInfoText; + public TMP_Text balanceText; public TMP_Text walletAddressText; - public Image dropdownIcon; + public Image walletImage; + public TMP_Text currentNetworkText; + public Image currentNetworkImage; + public Image chainImage; + // Network Switching + public GameObject networkSwitchButton; + public GameObject networkDropdown; + public GameObject networkButtonPrefab; + public List networkSprites; string address; + Wallet wallet; + // UI Initialization @@ -70,6 +88,9 @@ private void Start() connectDropdown.SetActive(false); connectedDropdown.SetActive(false); + + networkSwitchButton.SetActive(supportSwitchingNetwork); + networkDropdown.SetActive(false); } // Connecting @@ -82,26 +103,42 @@ public async void OnConnect(Wallet _wallet) new WalletConnection() { provider = GetWalletProvider(_wallet), - chainId = ThirdwebManager.Instance.GetChainID(), + chainId = (int)ThirdwebManager.Instance.chain, }); - connectInfoText.text = ThirdwebManager.Instance.chain; - walletAddressText.text = address.ShortenAddress(); + wallet = _wallet; + OnConnected(); + print($"Connected successfully to: {address}"); + } + catch (Exception e) + { + print($"Error Connecting Wallet: {e.Message}"); + } + } + async void OnConnected() + { + try + { + Chain _chain = ThirdwebManager.Instance.chain; + CurrencyValue nativeBalance = await ThirdwebManager.Instance.SDK.wallet.GetBalance(); + balanceText.text = $"{nativeBalance.value.ToEth()} {nativeBalance.symbol}"; + walletAddressText.text = address.ShortenAddress(); + currentNetworkText.text = ThirdwebManager.Instance.chainIdentifiers[_chain]; + currentNetworkImage.sprite = networkSprites.Find(x => x.chain == _chain).sprite; connectButton.SetActive(false); connectedButton.SetActive(true); - connectDropdown.SetActive(false); connectedDropdown.SetActive(false); - - dropdownIcon.sprite = walletButtons.Find(x => x.wallet == _wallet).icon; - - print($"Connected successfully to: {address}"); + networkDropdown.SetActive(false); + walletImage.sprite = walletButtons.Find(x => x.wallet == wallet).icon; + chainImage.sprite = networkSprites.Find(x => x.chain == _chain).sprite; } catch (Exception e) { - print($"Error Connecting Wallet: {e.Message}"); + print($"Error Fetching Native Balance: {e.Message}"); } + } // Disconnecting @@ -111,20 +148,41 @@ public async void OnDisconnect() try { await ThirdwebManager.Instance.SDK.wallet.Disconnect(); - address = null; + OnDisconnected(); + print($"Disconnected successfully."); - connectButton.SetActive(true); - connectedButton.SetActive(false); + } + catch (Exception e) + { + print($"Error Disconnecting Wallet: {e.Message}"); + } + } - connectDropdown.SetActive(false); - connectedDropdown.SetActive(false); + void OnDisconnected() + { + address = null; + connectButton.SetActive(true); + connectedButton.SetActive(false); + connectDropdown.SetActive(false); + connectedDropdown.SetActive(false); + } - print($"Disconnected successfully."); + // Switching Network + + public async void OnSwitchNetwork(Chain _chain) + { + + try + { + ThirdwebManager.Instance.chain = _chain; + await ThirdwebManager.Instance.SDK.wallet.SwitchNetwork((int)_chain); + OnConnected(); + print($"Switched Network Successfully: {_chain}"); } catch (Exception e) { - print($"Error Disconnecting Wallet: {e.Message}"); + print($"Error Switching Network: {e.Message}"); } } @@ -138,6 +196,32 @@ public void OnClickDropdown() connectedDropdown.SetActive(!connectedDropdown.activeInHierarchy); } + public void OnClickNetworkSwitch() + { + if (networkDropdown.activeInHierarchy) + { + networkDropdown.SetActive(false); + return; + } + + networkDropdown.SetActive(true); + + foreach (Transform child in networkDropdown.transform) + Destroy(child.gameObject); + + foreach (Chain chain in Enum.GetValues(typeof(Chain))) + { + if (chain == ThirdwebManager.Instance.chain || !ThirdwebManager.Instance.supportedNetworks.Contains(chain)) + continue; + + GameObject networkButton = Instantiate(networkButtonPrefab, networkDropdown.transform); + networkButton.GetComponent