diff --git a/Assets/Scenes/Results.unity b/Assets/Scenes/Results.unity index b78a7b4..2340d0e 100644 --- a/Assets/Scenes/Results.unity +++ b/Assets/Scenes/Results.unity @@ -478,7 +478,7 @@ MonoBehaviour: fish: {fileID: 1615301965237016, guid: 3b07c51a898a8e342b3d0236ca47bf8c, type: 2} sea: {fileID: 1883986867} punteggio: {fileID: 1625724831} - winner: {fileID: 1633702437} + winner: {fileID: 2030790938} --- !u!1 &1497958429 GameObject: m_ObjectHideFlags: 0 @@ -608,81 +608,6 @@ CanvasRenderer: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1625724829} m_CullTransparentMesh: 0 ---- !u!1 &1633702435 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1633702436} - - component: {fileID: 1633702438} - - component: {fileID: 1633702437} - m_Layer: 5 - m_Name: wins - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1633702436 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1633702435} - 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_Children: [] - m_Father: {fileID: 2050323200} - m_RootOrder: 3 - 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: 472.59998, y: 144.8} - m_SizeDelta: {x: 160, y: 30} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1633702437 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1633702435} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, - Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 14 - m_FontStyle: 0 - m_BestFit: 1 - m_MinSize: 10 - m_MaxSize: 40 - m_Alignment: 1 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: wins! ---- !u!222 &1633702438 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1633702435} - m_CullTransparentMesh: 0 --- !u!1 &1761400630 GameObject: m_ObjectHideFlags: 0 @@ -963,7 +888,6 @@ RectTransform: - {fileID: 824294109} - {fileID: 1625724830} - {fileID: 2030790937} - - {fileID: 1633702436} m_Father: {fileID: 0} m_RootOrder: 7 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Scripts/FishSpawnerEnding.cs b/Assets/Scripts/FishSpawnerEnding.cs index 830d28b..3dd14d5 100644 --- a/Assets/Scripts/FishSpawnerEnding.cs +++ b/Assets/Scripts/FishSpawnerEnding.cs @@ -38,7 +38,7 @@ public class FishSpawnerEnding : MonoBehaviour } if (spawned >= toSpawn) { - winner.text = vincitore; + winner.text = vincitore+" wins!"; } } }