From 503634db53002753bfe5c52236285b308fed3918 Mon Sep 17 00:00:00 2001 From: Fangh Date: Sun, 4 Feb 2024 14:35:42 +0100 Subject: [PATCH] fix: timer for vote is same as timer for picture --- Assets/Scenes/PhoneView.unity | 46 +++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/Assets/Scenes/PhoneView.unity b/Assets/Scenes/PhoneView.unity index 0de4b9d..3687fb6 100644 --- a/Assets/Scenes/PhoneView.unity +++ b/Assets/Scenes/PhoneView.unity @@ -209,6 +209,7 @@ GameObject: - component: {fileID: 105416811} - component: {fileID: 105416813} - component: {fileID: 105416812} + - component: {fileID: 105416814} m_Layer: 5 m_Name: Timer m_TagString: Untagged @@ -225,16 +226,16 @@ RectTransform: m_GameObject: {fileID: 105416810} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1.8068042, y: 1.8068042, z: 1.8068042} - m_ConstrainProportionsScale: 1 + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: - {fileID: 2103733877} m_Father: {fileID: 531335862} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -14.990967, y: -26} - m_SizeDelta: {x: 100, y: 100} + m_AnchoredPosition: {x: -43, y: -51} + m_SizeDelta: {x: 200, y: 200} m_Pivot: {x: 1, y: 1} --- !u!114 &105416812 MonoBehaviour: @@ -274,6 +275,21 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 105416810} m_CullTransparentMesh: 1 +--- !u!114 &105416814 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 105416810} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cfabb0440166ab443bba8876756fdfa9, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} + m_EffectDistance: {x: 10, y: -10} + m_UseGraphicAlpha: 1 --- !u!1 &123355695 GameObject: m_ObjectHideFlags: 0 @@ -1085,7 +1101,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 540, y: -614.9967} + m_AnchoredPosition: {x: 540, y: -475} m_SizeDelta: {x: 700, y: 700} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &456700975 @@ -1450,7 +1466,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 540, y: -1759.9951} + m_AnchoredPosition: {x: 540, y: -1550} m_SizeDelta: {x: 700, y: 700} m_Pivot: {x: 0.5, y: 0} --- !u!114 &589915590 @@ -5613,7 +5629,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 540, y: -69.99838} + m_AnchoredPosition: {x: 540, y: -0} m_SizeDelta: {x: 340, y: 100} m_Pivot: {x: 0.5, y: 1} --- !u!114 &1545657113 @@ -7766,7 +7782,7 @@ GameObject: - component: {fileID: 2103733879} - component: {fileID: 2103733878} m_Layer: 5 - m_Name: Text (TMP) + m_Name: Timer.Counter m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -7786,10 +7802,10 @@ RectTransform: m_Children: [] m_Father: {fileID: 105416811} 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: -2.731, y: -2.341} - m_SizeDelta: {x: 94.539, y: 46.1} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -2.5, y: -12.5} + m_SizeDelta: {x: -5, y: -25} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &2103733878 MonoBehaviour: @@ -7838,13 +7854,13 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 26.7 - m_fontSizeBase: 26.7 + m_fontSize: 52 + m_fontSizeBase: 52 m_fontWeight: 400 m_enableAutoSizing: 0 m_fontSizeMin: 18 m_fontSizeMax: 72 - m_fontStyle: 0 + m_fontStyle: 1 m_HorizontalAlignment: 2 m_VerticalAlignment: 512 m_textAlignment: 65535