diff --git a/Assets/Scripts/jatekmanager.cs b/Assets/Scripts/jatekmanager.cs index e1e0255..e7be9dc 100644 --- a/Assets/Scripts/jatekmanager.cs +++ b/Assets/Scripts/jatekmanager.cs @@ -75,6 +75,7 @@ public class jatekmanager : MonoBehaviour movement = FindObjectOfType(); turnManager = FindObjectOfType(); source = FindObjectOfType(); + vegpontozas = FindObjectOfType(); UpdateGameState(GameState.KorKezdet); } diff --git a/Assets/Scripts/vegpontozas.cs b/Assets/Scripts/vegpontozas.cs index 1331844..1345a44 100644 --- a/Assets/Scripts/vegpontozas.cs +++ b/Assets/Scripts/vegpontozas.cs @@ -15,7 +15,6 @@ public class vegpontozas : MonoBehaviour private Akciok akciok; private Elet elet; - public TMP_Text szoveg; public int osszpont = 0; @@ -52,7 +51,7 @@ public class vegpontozas : MonoBehaviour } public void pontkiiras(){ - StreamWriter writer = new StreamWriter(Application.persistentDataPath + "/pontszam.txt", false, Encoding.Default); + StreamWriter writer = new StreamWriter(""+Application.persistentDataPath + "/pontszam.txt", false, Encoding.Default); writer.Write(osszpont); writer.Close(); diff --git a/UserSettings/Layouts/default-2021.dwlt b/UserSettings/Layouts/default-2021.dwlt index 09ae5ae..4cf5ec6 100644 --- a/UserSettings/Layouts/default-2021.dwlt +++ b/UserSettings/Layouts/default-2021.dwlt @@ -15,9 +15,9 @@ MonoBehaviour: m_PixelRect: serializedVersion: 2 x: 0 - y: 28 - width: 1366 - height: 680 + y: 43 + width: 1920 + height: 997 m_ShowMode: 4 m_Title: Hierarchy m_RootView: {fileID: 3} @@ -34,22 +34,21 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} - m_Name: ConsoleWindow + m_Name: InspectorWindow m_EditorClassIdentifier: m_Children: [] m_Position: serializedVersion: 2 - x: 742 + x: 1269 y: 0 - width: 624 - height: 630 - m_MinSize: {x: 101, y: 121} + width: 651 + height: 947 + m_MinSize: {x: 276, y: 71} m_MaxSize: {x: 4001, y: 4021} - m_ActualView: {fileID: 16} + m_ActualView: {fileID: 17} m_Panes: - {fileID: 17} - - {fileID: 16} - m_Selected: 1 + m_Selected: 0 m_LastSelected: 0 --- !u!114 &3 MonoBehaviour: @@ -71,8 +70,8 @@ MonoBehaviour: serializedVersion: 2 x: 0 y: 0 - width: 1366 - height: 680 + width: 1920 + height: 997 m_MinSize: {x: 875, y: 300} m_MaxSize: {x: 10000, y: 10000} m_UseTopView: 1 @@ -96,7 +95,7 @@ MonoBehaviour: serializedVersion: 2 x: 0 y: 0 - width: 1366 + width: 1920 height: 30 m_MinSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0} @@ -117,8 +116,8 @@ MonoBehaviour: m_Position: serializedVersion: 2 x: 0 - y: 660 - width: 1366 + y: 977 + width: 1920 height: 20 m_MinSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0} @@ -141,12 +140,12 @@ MonoBehaviour: serializedVersion: 2 x: 0 y: 30 - width: 1366 - height: 630 + width: 1920 + height: 947 m_MinSize: {x: 300, y: 200} m_MaxSize: {x: 24288, y: 16192} vertical: 0 - controlID: 28 + controlID: 110 --- !u!114 &7 MonoBehaviour: m_ObjectHideFlags: 52 @@ -166,12 +165,12 @@ MonoBehaviour: serializedVersion: 2 x: 0 y: 0 - width: 742 - height: 630 + width: 1269 + height: 947 m_MinSize: {x: 200, y: 200} m_MaxSize: {x: 16192, y: 16192} vertical: 1 - controlID: 29 + controlID: 111 --- !u!114 &8 MonoBehaviour: m_ObjectHideFlags: 52 @@ -191,12 +190,12 @@ MonoBehaviour: serializedVersion: 2 x: 0 y: 0 - width: 742 - height: 355 + width: 1269 + height: 534 m_MinSize: {x: 200, y: 100} m_MaxSize: {x: 16192, y: 8096} vertical: 0 - controlID: 30 + controlID: 112 --- !u!114 &9 MonoBehaviour: m_ObjectHideFlags: 52 @@ -214,8 +213,8 @@ MonoBehaviour: serializedVersion: 2 x: 0 y: 0 - width: 139 - height: 355 + width: 237 + height: 534 m_MinSize: {x: 201, y: 221} m_MaxSize: {x: 4001, y: 4021} m_ActualView: {fileID: 13} @@ -238,10 +237,10 @@ MonoBehaviour: m_Children: [] m_Position: serializedVersion: 2 - x: 139 + x: 237 y: 0 - width: 603 - height: 355 + width: 1032 + height: 534 m_MinSize: {x: 202, y: 221} m_MaxSize: {x: 4002, y: 4021} m_ActualView: {fileID: 14} @@ -260,21 +259,22 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 1 m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} - m_Name: ProjectBrowser + m_Name: ConsoleWindow m_EditorClassIdentifier: m_Children: [] m_Position: serializedVersion: 2 x: 0 - y: 355 - width: 742 - height: 275 - m_MinSize: {x: 231, y: 271} - m_MaxSize: {x: 10001, y: 10021} - m_ActualView: {fileID: 15} + y: 534 + width: 1269 + height: 413 + m_MinSize: {x: 101, y: 121} + m_MaxSize: {x: 4001, y: 4021} + m_ActualView: {fileID: 16} m_Panes: - {fileID: 15} - m_Selected: 0 + - {fileID: 16} + m_Selected: 1 m_LastSelected: 0 --- !u!114 &12 MonoBehaviour: @@ -296,10 +296,10 @@ MonoBehaviour: m_Tooltip: m_Pos: serializedVersion: 2 - x: 139 - y: 86 - width: 601 - height: 334 + x: 237 + y: 73 + width: 1030 + height: 513 m_ViewDataDictionary: {fileID: 0} m_OverlayCanvas: m_LastAppliedPresetName: Default @@ -310,7 +310,7 @@ MonoBehaviour: m_ShowGizmos: 0 m_TargetDisplay: 0 m_ClearColor: {r: 0, g: 0, b: 0, a: 0} - m_TargetSize: {x: 601, y: 313} + m_TargetSize: {x: 1030, y: 492} m_TextureFilterMode: 0 m_TextureHideFlags: 61 m_RenderIMGUI: 1 @@ -325,10 +325,10 @@ MonoBehaviour: m_VRangeLocked: 0 hZoomLockedByDefault: 0 vZoomLockedByDefault: 0 - m_HBaseRangeMin: -300.5 - m_HBaseRangeMax: 300.5 - m_VBaseRangeMin: -156.5 - m_VBaseRangeMax: 156.5 + m_HBaseRangeMin: -515 + m_HBaseRangeMax: 515 + m_VBaseRangeMin: -246 + m_VBaseRangeMax: 246 m_HAllowExceedBaseRangeMin: 1 m_HAllowExceedBaseRangeMax: 1 m_VAllowExceedBaseRangeMin: 1 @@ -346,23 +346,23 @@ MonoBehaviour: serializedVersion: 2 x: 0 y: 21 - width: 601 - height: 313 + width: 1030 + height: 492 m_Scale: {x: 1, y: 1} - m_Translation: {x: 300.5, y: 156.5} + m_Translation: {x: 515, y: 246} m_MarginLeft: 0 m_MarginRight: 0 m_MarginTop: 0 m_MarginBottom: 0 m_LastShownAreaInsideMargins: serializedVersion: 2 - x: -300.5 - y: -156.5 - width: 601 - height: 313 + x: -515 + y: -246 + width: 1030 + height: 492 m_MinimalGUI: 1 m_defaultScale: 1 - m_LastWindowPixelSize: {x: 601, y: 334} + m_LastWindowPixelSize: {x: 1030, y: 513} m_ClearInEditMode: 1 m_NoCameraWarning: 1 m_LowResolutionForAspectRatios: 01000000000000000000 @@ -389,9 +389,9 @@ MonoBehaviour: m_Pos: serializedVersion: 2 x: 0 - y: 86 - width: 138 - height: 334 + y: 73 + width: 236 + height: 513 m_ViewDataDictionary: {fileID: 0} m_OverlayCanvas: m_LastAppliedPresetName: Default @@ -401,7 +401,7 @@ MonoBehaviour: scrollPos: {x: 0, y: 0} m_SelectedIDs: m_LastClickedID: 0 - m_ExpandedIDs: e482ffff5aa7ffff48adffffb6b1ffff20c3ffff1afbfffffa77000056f000001ef1000038f10000 + m_ExpandedIDs: 12fbffff m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -445,10 +445,10 @@ MonoBehaviour: m_Tooltip: m_Pos: serializedVersion: 2 - x: 139 - y: 86 - width: 601 - height: 334 + x: 237 + y: 73 + width: 1030 + height: 513 m_ViewDataDictionary: {fileID: 0} m_OverlayCanvas: m_LastAppliedPresetName: Default @@ -698,16 +698,16 @@ MonoBehaviour: m_WindowGUID: cc27987af1a868c49b0894db9c0f5429 m_Gizmos: 1 m_OverrideSceneCullingMask: 6917529027641081856 - m_SceneIsLit: 0 + m_SceneIsLit: 1 m_SceneLighting: 1 m_2DMode: 1 m_isRotationLocked: 0 m_PlayAudio: 0 m_AudioPlay: 0 m_Position: - m_Target: {x: -4.524531, y: 0, z: 0} + m_Target: {x: -4.3600006, y: 0, z: -10} speed: 2 - m_Value: {x: -4.524531, y: 0, z: 0} + m_Value: {x: -4.3600006, y: 0, z: -10} m_RenderMode: 0 m_CameraMode: drawMode: 0 @@ -758,9 +758,9 @@ MonoBehaviour: speed: 2 m_Value: {x: 0, y: 0, z: 0, w: 1} m_Size: - m_Target: 21.083035 + m_Target: 12.124355 speed: 2 - m_Value: 21.083035 + m_Value: 12.124355 m_Ortho: m_Target: 1 speed: 2 @@ -806,9 +806,9 @@ MonoBehaviour: m_Pos: serializedVersion: 2 x: 0 - y: 441 - width: 741 - height: 254 + y: 607 + width: 1268 + height: 392 m_ViewDataDictionary: {fileID: 0} m_OverlayCanvas: m_LastAppliedPresetName: Default @@ -826,22 +826,22 @@ MonoBehaviour: m_SkipHidden: 0 m_SearchArea: 1 m_Folders: - - Assets/Scenes + - Assets/Scripts m_Globs: [] m_OriginalText: m_ViewMode: 1 m_StartGridSize: 64 m_LastFolders: - - Assets/Scenes + - Assets/Scripts m_LastFoldersGridSize: -1 - m_LastProjectPath: /home/tom/Documents/dev/find the source + m_LastProjectPath: E:\dev\find the source\projekt\FindTheSource m_LockTracker: m_IsLocked: 0 m_FolderTreeState: scrollPos: {x: 0, y: 0} - m_SelectedIDs: 1c7a0000 - m_LastClickedID: 31260 - m_ExpandedIDs: 00000000fe79000000ca9a3b + m_SelectedIDs: 3e7a0000 + m_LastClickedID: 31294 + m_ExpandedIDs: 000000001e7a0000 m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -869,7 +869,7 @@ MonoBehaviour: scrollPos: {x: 0, y: 0} m_SelectedIDs: m_LastClickedID: 0 - m_ExpandedIDs: 00000000fe790000 + m_ExpandedIDs: 000000001e7a0000 m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -894,8 +894,8 @@ MonoBehaviour: m_Icon: {fileID: 0} m_ResourceFile: m_ListAreaState: - m_SelectedInstanceIDs: - m_LastClickedInstanceID: 0 + m_SelectedInstanceIDs: ac6c0000 + m_LastClickedInstanceID: 27820 m_HadKeyboardFocusLastEvent: 1 m_ExpandedInstanceIDs: c6230000 m_RenameOverlay: @@ -945,10 +945,10 @@ MonoBehaviour: m_Tooltip: m_Pos: serializedVersion: 2 - x: 742 - y: 86 - width: 623 - height: 609 + x: 0 + y: 607 + width: 1268 + height: 392 m_ViewDataDictionary: {fileID: 0} m_OverlayCanvas: m_LastAppliedPresetName: Default @@ -973,10 +973,10 @@ MonoBehaviour: m_Tooltip: m_Pos: serializedVersion: 2 - x: 742 - y: 86 - width: 623 - height: 609 + x: 1269 + y: 73 + width: 650 + height: 926 m_ViewDataDictionary: {fileID: 0} m_OverlayCanvas: m_LastAppliedPresetName: Default