This commit is contained in:
2022-11-16 12:24:47 +01:00
parent 26794a49c2
commit 71527b7961
9 changed files with 286 additions and 1694 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -53,6 +53,7 @@ public class Akciok : MonoBehaviour
for (int i = 0; i < felhasznalt_tolteny; i++) {
toltenyek[i].text = "X";
}
betarazott_tolteny -= elhasznalt_toltenyek;
}
} else {
Debug.Log("Nincs eleg tolteny");

View File

@@ -38,9 +38,9 @@ public class OptionMenu : MonoBehaviour
}
//Audio
public AudioMixer mixer;
//public AudioMixer mixer;
public void SetMainVolume(float mainVolume) {
/*public void SetMainVolume(float mainVolume) {
mixer.SetFloat("mainVolume", mainVolume);
}
public void SetMusicVolume(float musicVolume) {
@@ -48,7 +48,7 @@ public class OptionMenu : MonoBehaviour
}
public void SetSfxVolume(float sfxVolume) {
mixer.SetFloat("sfxVolume", sfxVolume);
}
}*/
//Quality
public void setQuality(int qualityIndex) {
@@ -59,4 +59,16 @@ public class OptionMenu : MonoBehaviour
public void setFullscreen(bool isFullscreen) {
Screen.fullScreen = isFullscreen;
}
public void setVsync(bool value) {
int num = 0;
if (value) num = 1;
else num = 0;
if (num > 0) Debug.Log("vsync on");
else Debug.Log("vsync off");
QualitySettings.vSyncCount = num;
}
}

View File

@@ -6,6 +6,9 @@ EditorBuildSettings:
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/Scenes/MainScene.unity
path: Assets/Scenes/MainMenu.unity
guid: 4a923e600f3edff4f8e3198b58b21f65
- enabled: 1
path: Assets/Scenes/Jatek.unity
guid: 2cda990e2423bbf4892e6590ba056729
m_configObjects: {}

View File

@@ -4,7 +4,7 @@
QualitySettings:
m_ObjectHideFlags: 0
serializedVersion: 5
m_CurrentQuality: 3
m_CurrentQuality: 0
m_QualitySettings:
- serializedVersion: 2
name: Low

View File

@@ -6,10 +6,10 @@ EditorUserSettings:
serializedVersion: 4
m_ConfigSettings:
RecentlyUsedSceneGuid-0:
value: 57500d5456505f0b5d085f2714255944104f1d797d717e3278711f61b3e6626d
value: 515250075c0c595e5f5a5e71122159444e4e4a2f7a7d7f602f284d66b4b76661
flags: 0
RecentlyUsedSceneGuid-1:
value: 515250075c0c595e5f5a5e71122159444e4e4a2f7a7d7f602f284d66b4b76661
value: 57500d5456505f0b5d085f2714255944104f1d797d717e3278711f61b3e6626d
flags: 0
UnityRemoteCompression:
value: 337f73

View File

@@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Children:
- {fileID: 3}
- {fileID: 12}
- {fileID: 14}
m_Position:
serializedVersion: 2
x: 0
@@ -24,7 +24,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 83
controlID: 6468
--- !u!114 &2
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -45,10 +45,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 214
x: 207
y: 19
width: 824
height: 376
width: 797
height: 342
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@@ -59,7 +59,7 @@ MonoBehaviour:
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 824, y: 355}
m_TargetSize: {x: 797, y: 321}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
@@ -74,10 +74,10 @@ MonoBehaviour:
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -412
m_HBaseRangeMax: 412
m_VBaseRangeMin: -177.5
m_VBaseRangeMax: 177.5
m_HBaseRangeMin: -398.5
m_HBaseRangeMax: 398.5
m_VBaseRangeMin: -160.5
m_VBaseRangeMax: 160.5
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
@@ -95,23 +95,23 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 21
width: 824
height: 355
width: 797
height: 321
m_Scale: {x: 1, y: 1}
m_Translation: {x: 412, y: 177.5}
m_Translation: {x: 398.5, y: 160.5}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -412
y: -177.5
width: 824
height: 355
x: -398.5
y: -160.5
width: 797
height: 321
m_MinimalGUI: 1
m_defaultScale: 1
m_LastWindowPixelSize: {x: 824, y: 376}
m_LastWindowPixelSize: {x: 797, y: 342}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
@@ -136,12 +136,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1039
width: 1005
height: 635
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 84
controlID: 6469
--- !u!114 &4
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -161,12 +161,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1039
width: 1005
height: 363
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 85
controlID: 6470
--- !u!114 &5
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -184,7 +184,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 213
width: 206
height: 363
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
@@ -215,7 +215,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 73
width: 212
width: 205
height: 342
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -226,7 +226,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 28fbfffff86e0000
m_ExpandedIDs: 76c0ffff18c1ffffe6c2fffff0c2ffff8cc4ffff2ec5fffffcc6ffff06c7ffffc0caffff64cbffff26cfffff34cfffffc2f4ffff1cf7ffff28fbffffd4810000fc810000608300009ad8000016da000040da00007afe0000a2fe0000c0ff000008000100
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -265,9 +265,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 213
x: 206
y: 0
width: 826
width: 799
height: 363
m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021}
@@ -297,9 +297,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 213
x: 206
y: 73
width: 824
width: 797
height: 342
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -557,9 +557,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: -10.575421, y: 0.16107737, z: -0.071576595}
m_Target: {x: 401.6159, y: 138.66089, z: -0.33309257}
speed: 2
m_Value: {x: -10.575421, y: 0.16107737, z: -0.071576595}
m_Value: {x: 401.6159, y: 138.66089, z: -0.33309257}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@@ -610,9 +610,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 8.732801
m_Target: 166.70361
speed: 2
m_Value: 8.732801
m_Value: 166.70361
m_Ortho:
m_Target: 1
speed: 2
@@ -638,6 +638,31 @@ MonoBehaviour:
m_LastLockedObject: {fileID: 0}
m_ViewIsLockedToObject: 0
--- !u!114 &9
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_Children:
- {fileID: 10}
- {fileID: 12}
m_Position:
serializedVersion: 2
x: 0
y: 363
width: 1005
height: 272
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 6387
--- !u!114 &10
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -653,18 +678,17 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 363
width: 1039
y: 0
width: 512
height: 272
m_MinSize: {x: 231, y: 271}
m_MaxSize: {x: 10001, y: 10021}
m_ActualView: {fileID: 10}
m_MinSize: {x: 230, y: 250}
m_MaxSize: {x: 10000, y: 10000}
m_ActualView: {fileID: 11}
m_Panes:
- {fileID: 10}
- {fileID: 11}
m_Selected: 0
m_LastSelected: 1
--- !u!114 &10
m_LastSelected: 0
--- !u!114 &11
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -686,7 +710,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 436
width: 1038
width: 511
height: 251
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -705,22 +729,22 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/Scripts
- Assets
m_Globs: []
m_OriginalText:
m_ViewMode: 1
m_StartGridSize: 55
m_LastFolders:
- Assets/Scripts
- Assets
m_LastFoldersGridSize: 55
m_LastProjectPath: C:\dev\find the source
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 34770000
m_LastClickedID: 30516
m_ExpandedIDs: 000000001677000000ca9a3bffffff7f
m_SelectedIDs: 12770000
m_LastClickedID: 30482
m_ExpandedIDs: 000000001277000000ca9a3bffffff7f
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -736,7 +760,7 @@ MonoBehaviour:
m_IsRenaming: 0
m_OriginalEventType: 11
m_IsRenamingFilename: 1
m_ClientGUIView: {fileID: 9}
m_ClientGUIView: {fileID: 10}
m_SearchString:
m_CreateAssetUtility:
m_EndAction: {fileID: 0}
@@ -748,7 +772,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 0000000016770000
m_ExpandedIDs: 000000001277000000ca9a3bffffff7f
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -773,9 +797,9 @@ MonoBehaviour:
m_Icon: {fileID: 0}
m_ResourceFile:
m_ListAreaState:
m_SelectedInstanceIDs: fc6b0000
m_LastClickedInstanceID: 27644
m_HadKeyboardFocusLastEvent: 1
m_SelectedInstanceIDs: 3c000100
m_LastClickedInstanceID: 65596
m_HadKeyboardFocusLastEvent: 0
m_ExpandedInstanceIDs: c623000000000000
m_RenameOverlay:
m_UserAcceptedRename: 0
@@ -792,7 +816,7 @@ MonoBehaviour:
m_IsRenaming: 0
m_OriginalEventType: 11
m_IsRenamingFilename: 1
m_ClientGUIView: {fileID: 9}
m_ClientGUIView: {fileID: 10}
m_CreateAssetUtility:
m_EndAction: {fileID: 0}
m_InstanceID: 0
@@ -804,7 +828,33 @@ MonoBehaviour:
m_GridSize: 55
m_SkipHiddenPackages: 0
m_DirectoriesAreaWidth: 164
--- !u!114 &11
--- !u!114 &12
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
m_Name: ConsoleWindow
m_EditorClassIdentifier:
m_Children: []
m_Position:
serializedVersion: 2
x: 512
y: 0
width: 493
height: 272
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 13}
m_Panes:
- {fileID: 13}
m_Selected: 0
m_LastSelected: 0
--- !u!114 &13
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -824,15 +874,15 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 0
x: 512
y: 436
width: 1038
width: 491
height: 251
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
m_SaveData: []
--- !u!114 &12
--- !u!114 &14
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -847,18 +897,18 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1039
x: 1005
y: 0
width: 327
width: 361
height: 635
m_MinSize: {x: 275, y: 50}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 13}
m_ActualView: {fileID: 15}
m_Panes:
- {fileID: 13}
- {fileID: 15}
m_Selected: 0
m_LastSelected: 0
--- !u!114 &13
--- !u!114 &15
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -878,9 +928,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 1039
x: 1005
y: 73
width: 326
width: 360
height: 614
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -892,7 +942,7 @@ MonoBehaviour:
m_CachedPref: 160
m_ControlHash: -371814159
m_PrefName: Preview_InspectorPreview
m_LastInspectedObjectInstanceID: 27644
m_LastInspectedObjectInstanceID: 65596
m_LastVerticalScrollValue: 0
m_GlobalObjectId:
m_InspectorMode: 0