From 4b195ddccc23cb2f2f9561bf74600c9825df0158 Mon Sep 17 00:00:00 2001 From: 0xFirekeeper <0xFirekeeper@gmail.com> Date: Wed, 31 Jul 2024 00:52:58 +0300 Subject: [PATCH] cleanup --- .../Unity/Prefabs/InAppWalletModal.prefab | 185 +++++++++++++++--- .../Unity/Prefabs/ThirdwebManager.prefab | 50 ++--- 2 files changed, 187 insertions(+), 48 deletions(-) diff --git a/Assets/Thirdweb/Runtime/Unity/Prefabs/InAppWalletModal.prefab b/Assets/Thirdweb/Runtime/Unity/Prefabs/InAppWalletModal.prefab index 2031f008..ff5feeea 100644 --- a/Assets/Thirdweb/Runtime/Unity/Prefabs/InAppWalletModal.prefab +++ b/Assets/Thirdweb/Runtime/Unity/Prefabs/InAppWalletModal.prefab @@ -34,8 +34,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 200, y: -35} - m_SizeDelta: {x: 350, y: 30} + m_AnchoredPosition: {x: 350, y: -43.125} + m_SizeDelta: {x: 750, y: 30} m_Pivot: {x: 0.5, y: 1} --- !u!222 &3554625208531783813 CanvasRenderer: @@ -92,8 +92,8 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 36 - m_fontSizeBase: 36 + m_fontSize: 60 + m_fontSizeBase: 60 m_fontWeight: 400 m_enableAutoSizing: 0 m_fontSizeMin: 18 @@ -226,10 +226,10 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 24 + m_fontSize: 53.7 m_fontSizeBase: 24 m_fontWeight: 400 - m_enableAutoSizing: 0 + m_enableAutoSizing: 1 m_fontSizeMin: 18 m_fontSizeMax: 72 m_fontStyle: 0 @@ -406,7 +406,7 @@ RectTransform: m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} + m_SizeDelta: {x: -10, y: -10} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &928582245302513982 CanvasRenderer: @@ -436,7 +436,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: Enter the six digit password sent to you... + m_text: Enter password... m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} @@ -463,15 +463,15 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 14 - m_fontSizeBase: 14 + m_fontSize: 33.1 + m_fontSizeBase: 24 m_fontWeight: 400 - m_enableAutoSizing: 0 + m_enableAutoSizing: 1 m_fontSizeMin: 18 m_fontSizeMax: 72 m_fontStyle: 2 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 256 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 m_textAlignment: 65535 m_characterSpacing: 0 m_wordSpacing: 0 @@ -559,6 +559,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 5371112846942902171} + - {fileID: 5218515456902683515} - {fileID: 870115345117033871} - {fileID: 4890399708717926316} m_Father: {fileID: 6039721690277681462} @@ -566,7 +567,7 @@ RectTransform: m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 400, y: 250} + m_SizeDelta: {x: 700, y: 450} m_Pivot: {x: 0.5, y: 0.5} --- !u!223 &6849160509572332301 Canvas: @@ -667,7 +668,7 @@ MonoBehaviour: m_Spacing: 25 m_ChildForceExpandWidth: 1 m_ChildForceExpandHeight: 1 - m_ChildControlWidth: 1 + m_ChildControlWidth: 0 m_ChildControlHeight: 0 m_ChildScaleWidth: 0 m_ChildScaleHeight: 0 @@ -756,8 +757,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 200, y: -200} - m_SizeDelta: {x: 350, y: 30} + m_AnchoredPosition: {x: 350, y: -376.875} + m_SizeDelta: {x: 250, y: 60} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &5116783963587770299 CanvasRenderer: @@ -841,6 +842,140 @@ MonoBehaviour: m_OnClick: m_PersistentCalls: m_Calls: [] +--- !u!1 &6626442634880052045 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5218515456902683515} + - component: {fileID: 5387018308454469514} + - component: {fileID: 3938861009180224149} + m_Layer: 0 + m_Name: Label_Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5218515456902683515 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6626442634880052045} + 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: 4461568896177945805} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 350, y: -134.375} + m_SizeDelta: {x: 750, y: 30} + m_Pivot: {x: 0.5, y: 1} +--- !u!222 &5387018308454469514 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6626442634880052045} + m_CullTransparentMesh: 1 +--- !u!114 &3938861009180224149 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6626442634880052045} + 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: A one time password has been sent to you. + 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: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, 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: 24 + m_fontSizeBase: 24 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + 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 &6737487196998776446 GameObject: m_ObjectHideFlags: 0 @@ -929,8 +1064,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 200, y: -125} - m_SizeDelta: {x: 350, y: 30} + m_AnchoredPosition: {x: 350, y: -255.625} + m_SizeDelta: {x: 500, y: 60} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &6288659877768705966 CanvasRenderer: @@ -953,7 +1088,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + 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 @@ -1160,17 +1295,17 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 14 + m_fontSize: 72 m_fontSizeBase: 14 m_fontWeight: 400 - m_enableAutoSizing: 0 + m_enableAutoSizing: 1 m_fontSizeMin: 18 m_fontSizeMax: 72 m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 256 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 m_textAlignment: 65535 - m_characterSpacing: 0 + m_characterSpacing: 90.9 m_wordSpacing: 0 m_lineSpacing: 0 m_lineSpacingMax: 0 diff --git a/Assets/Thirdweb/Runtime/Unity/Prefabs/ThirdwebManager.prefab b/Assets/Thirdweb/Runtime/Unity/Prefabs/ThirdwebManager.prefab index 30ce9e84..da1b5d33 100644 --- a/Assets/Thirdweb/Runtime/Unity/Prefabs/ThirdwebManager.prefab +++ b/Assets/Thirdweb/Runtime/Unity/Prefabs/ThirdwebManager.prefab @@ -61,23 +61,19 @@ PrefabInstance: m_Modifications: - target: {fileID: 870115345117033871, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 870115345117033871, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchorMin.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 870115345117033871, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} - propertyPath: m_SizeDelta.x - value: 350 + value: 0 objectReference: {fileID: 0} - target: {fileID: 870115345117033871, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchoredPosition.x - value: 200 + value: 0 objectReference: {fileID: 0} - target: {fileID: 870115345117033871, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchoredPosition.y - value: -125 + value: 0 objectReference: {fileID: 0} - target: {fileID: 927399162371239047, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_LocalPosition.x @@ -121,43 +117,51 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4890399708717926316, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4890399708717926316, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4890399708717926316, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} - propertyPath: m_SizeDelta.x - value: 350 + propertyPath: m_AnchoredPosition.x + value: 0 objectReference: {fileID: 0} - target: {fileID: 4890399708717926316, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5218515456902683515, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5218515456902683515, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5218515456902683515, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchoredPosition.x - value: 200 + value: 0 objectReference: {fileID: 0} - - target: {fileID: 4890399708717926316, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} + - target: {fileID: 5218515456902683515, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchoredPosition.y - value: -200 + value: 0 objectReference: {fileID: 0} - target: {fileID: 5371112846942902171, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 5371112846942902171, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchorMin.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5371112846942902171, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} - propertyPath: m_SizeDelta.x - value: 350 + value: 0 objectReference: {fileID: 0} - target: {fileID: 5371112846942902171, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchoredPosition.x - value: 200 + value: 0 objectReference: {fileID: 0} - target: {fileID: 5371112846942902171, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_AnchoredPosition.y - value: -35 + value: 0 objectReference: {fileID: 0} - target: {fileID: 5852007486238492023, guid: 948c3090b3e324d46b37f01e37d30c63, type: 3} propertyPath: m_Name