Compare commits
77 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b844510670 | |||
| abed81bb35 | |||
| 1ffd2ab270 | |||
| 57082d0e63 | |||
| dc1f00d5a7 | |||
| 697b4d1bac | |||
| b800d3e4f7 | |||
|
|
3faef708ca | ||
|
|
f0e38b6641 | ||
| 89a7c0b91b | |||
|
|
2b88507eee | ||
|
|
ed490eea34 | ||
| 13642384a2 | |||
| 4096e208f3 | |||
| dad9ccfb13 | |||
|
|
8428823b11 | ||
| 2343f722de | |||
| e63cb46c38 | |||
| a8b1605179 | |||
|
|
f4ec722d41 | ||
|
|
3d80e4d8a3 | ||
| ad11946a20 | |||
|
|
1b58467509 | ||
|
|
786d238f05 | ||
| e21cd9f100 | |||
|
|
bef09b83dd | ||
| c51138a8cb | |||
| 84b31617d2 | |||
| a169db3aec | |||
| 42644afac8 | |||
| 8062c626a6 | |||
| 30d32ac8e5 | |||
| 214f206b01 | |||
| 2f1c758137 | |||
|
|
6ab0139ea7 | ||
| 3608997430 | |||
| df667ef231 | |||
| c0b4f8e07f | |||
|
|
c353c4cf79 | ||
| 3ce598d3bc | |||
| e278fb1b37 | |||
| edc7564cc9 | |||
| 5674149b9a | |||
|
|
eb750d5780 | ||
|
|
79807f3852 | ||
|
|
578472e785 | ||
|
|
90c849c05e | ||
|
|
d7239f5f44 | ||
| e08a43c72c | |||
|
|
bdfb0ec0d0 | ||
|
|
311cd2a21d | ||
|
|
361b1625c0 | ||
| b7a6275f0b | |||
| e644f1de7c | |||
|
|
76f2975f7e | ||
|
|
29ae6cfe06 | ||
| abc3dee946 | |||
|
|
27fefad271 | ||
| 20fbe86322 | |||
| a5c962b8bc | |||
| c4670305fc | |||
| 897e635a93 | |||
| 63fae0aa8d | |||
| fd63ae99e6 | |||
| 830022e1e6 | |||
| 653a970aa0 | |||
| d63f048f59 | |||
| 37d43ace38 | |||
| aa638ee67c | |||
| 4ec15e928f | |||
| cf570640ac | |||
| b746bb4bea | |||
| 6dc7a42e5e | |||
| a6d71246ff | |||
| 4ab79e6545 | |||
| 24554934f5 | |||
| 169a2c12b0 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -9,6 +9,7 @@
|
|||||||
/[Bb]uilds/
|
/[Bb]uilds/
|
||||||
/[Ll]ogs/
|
/[Ll]ogs/
|
||||||
/[Mm]emoryCaptures/
|
/[Mm]emoryCaptures/
|
||||||
|
/[Uu]ser[Ss]ettings/
|
||||||
|
|
||||||
# Asset meta data should only be ignored when the corresponding asset is also ignored
|
# Asset meta data should only be ignored when the corresponding asset is also ignored
|
||||||
!/[Aa]ssets/**/*.meta
|
!/[Aa]ssets/**/*.meta
|
||||||
@@ -58,3 +59,4 @@ sysinfo.txt
|
|||||||
# Crashlytics generated file
|
# Crashlytics generated file
|
||||||
crashlytics-build.properties
|
crashlytics-build.properties
|
||||||
|
|
||||||
|
UserSettings/Layouts/default-2021.dwlt
|
||||||
|
|||||||
BIN
Assets/.DS_Store
vendored
BIN
Assets/.DS_Store
vendored
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: fb49c3ca69521a342954e1d45a3ec6bc
|
guid: 7d3aa14aea0cada4192dff0bab17a395
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 93 KiB |
@@ -0,0 +1,171 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 91e2a85519f4f5d438dd117f0f58ced1
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 12
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMasterTextureLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Server
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: iPhone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Windows Store Apps
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 4a923e600f3edff4f8e3198b58b21f65
|
guid: 352fac4e29fb531e3abdd1f6e3f1b12a
|
||||||
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
@@ -0,0 +1,159 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4cf5fe7c0e65d15508aeaefe5524d48b
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 12
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMasterTextureLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Server
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: iPhone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Assets/Pics/pipa.png
Normal file
BIN
Assets/Assets/Pics/pipa.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
171
Assets/Assets/Pics/pipa.png.meta
Normal file
171
Assets/Assets/Pics/pipa.png.meta
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 25172d66c85a3a947a8a3b8b74514ef9
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 12
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMasterTextureLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Server
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: iPhone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Windows Store Apps
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Assets/Sounds/ftsdemo1loop.mp3
Normal file
BIN
Assets/Assets/Sounds/ftsdemo1loop.mp3
Normal file
Binary file not shown.
22
Assets/Assets/Sounds/ftsdemo1loop.mp3.meta
Normal file
22
Assets/Assets/Sounds/ftsdemo1loop.mp3.meta
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d779f8144b4238647982224ddbc418fc
|
||||||
|
AudioImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 6
|
||||||
|
defaultSettings:
|
||||||
|
loadType: 0
|
||||||
|
sampleRateSetting: 0
|
||||||
|
sampleRateOverride: 44100
|
||||||
|
compressionFormat: 1
|
||||||
|
quality: 1
|
||||||
|
conversionMode: 0
|
||||||
|
platformSettingOverrides: {}
|
||||||
|
forceToMono: 0
|
||||||
|
normalize: 1
|
||||||
|
preloadAudioData: 1
|
||||||
|
loadInBackground: 0
|
||||||
|
ambisonic: 0
|
||||||
|
3D: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -271,6 +271,7 @@ GameObject:
|
|||||||
- component: {fileID: 958920304}
|
- component: {fileID: 958920304}
|
||||||
- component: {fileID: 958920307}
|
- component: {fileID: 958920307}
|
||||||
- component: {fileID: 958920308}
|
- component: {fileID: 958920308}
|
||||||
|
- component: {fileID: 958920309}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Main Camera
|
m_Name: Main Camera
|
||||||
m_TagString: MainCamera
|
m_TagString: MainCamera
|
||||||
@@ -389,6 +390,158 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: b9102add15fe89844a6f103c51332836, type: 3}
|
m_Script: {fileID: 11500000, guid: b9102add15fe89844a6f103c51332836, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
MainMenuObj: {fileID: 0}
|
||||||
|
OptionsMenu: {fileID: 0}
|
||||||
|
VideoButton: {fileID: 0}
|
||||||
|
--- !u!114 &958920309
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 958920303}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 38c0315629436f34d8ba48f6d00b8302, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
szoveg: {fileID: 1041644989}
|
||||||
|
osszpont: 0
|
||||||
|
--- !u!1 &1041644987
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1041644988}
|
||||||
|
- component: {fileID: 1041644990}
|
||||||
|
- component: {fileID: 1041644989}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: pont_text
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1041644988
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1041644987}
|
||||||
|
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: 1934114490}
|
||||||
|
m_RootOrder: 2
|
||||||
|
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: -0, y: -66.600006}
|
||||||
|
m_SizeDelta: {x: 342.6646, y: 50}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &1041644989
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1041644987}
|
||||||
|
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: 'Pontszam: '
|
||||||
|
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: 36
|
||||||
|
m_fontSizeBase: 36
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 0
|
||||||
|
m_HorizontalAlignment: 1
|
||||||
|
m_VerticalAlignment: 256
|
||||||
|
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!222 &1041644990
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1041644987}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &1127070444
|
--- !u!1 &1127070444
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -426,7 +579,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: -72.19}
|
m_AnchoredPosition: {x: 0, y: 6.2100067}
|
||||||
m_SizeDelta: {x: 160, y: 30}
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &1127070446
|
--- !u!114 &1127070446
|
||||||
@@ -639,7 +792,7 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_UiScaleMode: 0
|
m_UiScaleMode: 1
|
||||||
m_ReferencePixelsPerUnit: 100
|
m_ReferencePixelsPerUnit: 100
|
||||||
m_ScaleFactor: 1
|
m_ScaleFactor: 1
|
||||||
m_ReferenceResolution: {x: 800, y: 600}
|
m_ReferenceResolution: {x: 800, y: 600}
|
||||||
@@ -685,6 +838,7 @@ RectTransform:
|
|||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 1956911019}
|
- {fileID: 1956911019}
|
||||||
- {fileID: 1127070445}
|
- {fileID: 1127070445}
|
||||||
|
- {fileID: 1041644988}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 1
|
m_RootOrder: 1
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
@@ -728,7 +882,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 78.4}
|
||||||
m_SizeDelta: {x: 200, y: 50}
|
m_SizeDelta: {x: 200, y: 50}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &1956911020
|
--- !u!114 &1956911020
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ NavMeshSettings:
|
|||||||
debug:
|
debug:
|
||||||
m_Flags: 0
|
m_Flags: 0
|
||||||
m_NavMeshData: {fileID: 0}
|
m_NavMeshData: {fileID: 0}
|
||||||
--- !u!1 &392158086
|
--- !u!1 &810189436
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@@ -131,130 +131,67 @@ GameObject:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 392158089}
|
- component: {fileID: 810189439}
|
||||||
- component: {fileID: 392158088}
|
- component: {fileID: 810189438}
|
||||||
- component: {fileID: 392158087}
|
- component: {fileID: 810189437}
|
||||||
- component: {fileID: 392158091}
|
|
||||||
- component: {fileID: 392158090}
|
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Main Camera
|
m_Name: EventSystem
|
||||||
m_TagString: MainCamera
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 1
|
||||||
--- !u!81 &392158087
|
--- !u!114 &810189437
|
||||||
AudioListener:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 392158086}
|
m_GameObject: {fileID: 810189436}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
--- !u!20 &392158088
|
m_EditorHideFlags: 0
|
||||||
Camera:
|
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_SendPointerHoverToParent: 1
|
||||||
|
m_HorizontalAxis: Horizontal
|
||||||
|
m_VerticalAxis: Vertical
|
||||||
|
m_SubmitButton: Submit
|
||||||
|
m_CancelButton: Cancel
|
||||||
|
m_InputActionsPerSecond: 10
|
||||||
|
m_RepeatDelay: 0.5
|
||||||
|
m_ForceModuleActive: 0
|
||||||
|
--- !u!114 &810189438
|
||||||
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 392158086}
|
m_GameObject: {fileID: 810189436}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
serializedVersion: 2
|
m_EditorHideFlags: 0
|
||||||
m_ClearFlags: 2
|
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
||||||
m_BackGroundColor: {r: 0.5764706, g: 0.5764706, b: 0.5764706, a: 0}
|
m_Name:
|
||||||
m_projectionMatrixMode: 1
|
m_EditorClassIdentifier:
|
||||||
m_GateFitMode: 2
|
m_FirstSelected: {fileID: 0}
|
||||||
m_FOVAxisMode: 0
|
m_sendNavigationEvents: 1
|
||||||
m_SensorSize: {x: 36, y: 24}
|
m_DragThreshold: 10
|
||||||
m_LensShift: {x: 0, y: 0}
|
--- !u!4 &810189439
|
||||||
m_FocalLength: 50
|
|
||||||
m_NormalizedViewPortRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1
|
|
||||||
height: 1
|
|
||||||
near clip plane: 0.3
|
|
||||||
far clip plane: 1000
|
|
||||||
field of view: 60
|
|
||||||
orthographic: 1
|
|
||||||
orthographic size: 5
|
|
||||||
m_Depth: -1
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingPath: -1
|
|
||||||
m_TargetTexture: {fileID: 0}
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
m_TargetEye: 3
|
|
||||||
m_HDR: 1
|
|
||||||
m_AllowMSAA: 1
|
|
||||||
m_AllowDynamicResolution: 0
|
|
||||||
m_ForceIntoRT: 0
|
|
||||||
m_OcclusionCulling: 1
|
|
||||||
m_StereoConvergence: 10
|
|
||||||
m_StereoSeparation: 0.022
|
|
||||||
--- !u!4 &392158089
|
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 392158086}
|
m_GameObject: {fileID: 810189436}
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: -10}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 2
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!114 &392158090
|
--- !u!1 &828138248
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 392158086}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: b9102add15fe89844a6f103c51332836, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
--- !u!114 &392158091
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 392158086}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_RenderShadows: 1
|
|
||||||
m_RequiresDepthTextureOption: 2
|
|
||||||
m_RequiresOpaqueTextureOption: 2
|
|
||||||
m_CameraType: 0
|
|
||||||
m_Cameras: []
|
|
||||||
m_RendererIndex: -1
|
|
||||||
m_VolumeLayerMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 1
|
|
||||||
m_VolumeTrigger: {fileID: 0}
|
|
||||||
m_VolumeFrameworkUpdateModeOption: 2
|
|
||||||
m_RenderPostProcessing: 0
|
|
||||||
m_Antialiasing: 0
|
|
||||||
m_AntialiasingQuality: 2
|
|
||||||
m_StopNaN: 0
|
|
||||||
m_Dithering: 0
|
|
||||||
m_ClearDepth: 1
|
|
||||||
m_AllowXRRendering: 1
|
|
||||||
m_RequiresDepthTexture: 0
|
|
||||||
m_RequiresColorTexture: 0
|
|
||||||
m_Version: 2
|
|
||||||
--- !u!1 &534187230
|
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@@ -262,10 +199,10 @@ GameObject:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 534187231}
|
- component: {fileID: 828138249}
|
||||||
- component: {fileID: 534187234}
|
- component: {fileID: 828138252}
|
||||||
- component: {fileID: 534187233}
|
- component: {fileID: 828138251}
|
||||||
- component: {fileID: 534187232}
|
- component: {fileID: 828138250}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Menu
|
m_Name: Menu
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@@ -273,34 +210,34 @@ GameObject:
|
|||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 1
|
||||||
--- !u!224 &534187231
|
--- !u!224 &828138249
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 534187230}
|
m_GameObject: {fileID: 828138248}
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 1019554695}
|
- {fileID: 1432441531}
|
||||||
m_Father: {fileID: 1833175879}
|
m_Father: {fileID: 1055402643}
|
||||||
m_RootOrder: 1
|
m_RootOrder: 1
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: -72.19}
|
m_AnchoredPosition: {x: -2.9, y: 9.2}
|
||||||
m_SizeDelta: {x: 160, y: 30}
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &534187232
|
--- !u!114 &828138250
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 534187230}
|
m_GameObject: {fileID: 828138248}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||||
@@ -334,11 +271,11 @@ MonoBehaviour:
|
|||||||
m_SelectedTrigger: Selected
|
m_SelectedTrigger: Selected
|
||||||
m_DisabledTrigger: Disabled
|
m_DisabledTrigger: Disabled
|
||||||
m_Interactable: 1
|
m_Interactable: 1
|
||||||
m_TargetGraphic: {fileID: 534187233}
|
m_TargetGraphic: {fileID: 828138251}
|
||||||
m_OnClick:
|
m_OnClick:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls:
|
m_Calls:
|
||||||
- m_Target: {fileID: 392158090}
|
- m_Target: {fileID: 1442263263}
|
||||||
m_TargetAssemblyTypeName: MainMenu, Assembly-CSharp
|
m_TargetAssemblyTypeName: MainMenu, Assembly-CSharp
|
||||||
m_MethodName: GoToMenu
|
m_MethodName: GoToMenu
|
||||||
m_Mode: 1
|
m_Mode: 1
|
||||||
@@ -350,13 +287,13 @@ MonoBehaviour:
|
|||||||
m_StringArgument:
|
m_StringArgument:
|
||||||
m_BoolArgument: 0
|
m_BoolArgument: 0
|
||||||
m_CallState: 2
|
m_CallState: 2
|
||||||
--- !u!114 &534187233
|
--- !u!114 &828138251
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 534187230}
|
m_GameObject: {fileID: 828138248}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
@@ -380,15 +317,15 @@ MonoBehaviour:
|
|||||||
m_FillOrigin: 0
|
m_FillOrigin: 0
|
||||||
m_UseSpriteMesh: 0
|
m_UseSpriteMesh: 0
|
||||||
m_PixelsPerUnitMultiplier: 1
|
m_PixelsPerUnitMultiplier: 1
|
||||||
--- !u!222 &534187234
|
--- !u!222 &828138252
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 534187230}
|
m_GameObject: {fileID: 828138248}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &1019554694
|
--- !u!1 &1055402639
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@@ -396,9 +333,247 @@ GameObject:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 1019554695}
|
- component: {fileID: 1055402643}
|
||||||
- component: {fileID: 1019554697}
|
- component: {fileID: 1055402642}
|
||||||
- component: {fileID: 1019554696}
|
- component: {fileID: 1055402641}
|
||||||
|
- component: {fileID: 1055402640}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Canvas
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &1055402640
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1055402639}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_IgnoreReversedGraphics: 1
|
||||||
|
m_BlockingObjects: 0
|
||||||
|
m_BlockingMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 4294967295
|
||||||
|
--- !u!114 &1055402641
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1055402639}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_UiScaleMode: 1
|
||||||
|
m_ReferencePixelsPerUnit: 100
|
||||||
|
m_ScaleFactor: 1
|
||||||
|
m_ReferenceResolution: {x: 800, y: 600}
|
||||||
|
m_ScreenMatchMode: 0
|
||||||
|
m_MatchWidthOrHeight: 0
|
||||||
|
m_PhysicalUnit: 3
|
||||||
|
m_FallbackScreenDPI: 96
|
||||||
|
m_DefaultSpriteDPI: 96
|
||||||
|
m_DynamicPixelsPerUnit: 1
|
||||||
|
m_PresetInfoIsWorld: 0
|
||||||
|
--- !u!223 &1055402642
|
||||||
|
Canvas:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1055402639}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 3
|
||||||
|
m_RenderMode: 0
|
||||||
|
m_Camera: {fileID: 0}
|
||||||
|
m_PlaneDistance: 100
|
||||||
|
m_PixelPerfect: 0
|
||||||
|
m_ReceivesEvents: 1
|
||||||
|
m_OverrideSorting: 0
|
||||||
|
m_OverridePixelPerfect: 0
|
||||||
|
m_SortingBucketNormalizedSize: 0
|
||||||
|
m_AdditionalShaderChannelsFlag: 25
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
m_TargetDisplay: 0
|
||||||
|
--- !u!224 &1055402643
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1055402639}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 1310690303}
|
||||||
|
- {fileID: 828138249}
|
||||||
|
- {fileID: 1845412275}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 1
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0, y: 0}
|
||||||
|
--- !u!1 &1310690302
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1310690303}
|
||||||
|
- component: {fileID: 1310690305}
|
||||||
|
- component: {fileID: 1310690304}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: vesztettel_text
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1310690303
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1310690302}
|
||||||
|
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: 1055402643}
|
||||||
|
m_RootOrder: 0
|
||||||
|
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.8999944, y: 81.39}
|
||||||
|
m_SizeDelta: {x: 200, y: 50}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &1310690304
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1310690302}
|
||||||
|
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: "Vesztett\xE9l"
|
||||||
|
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: 36
|
||||||
|
m_fontSizeBase: 36
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 1
|
||||||
|
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!222 &1310690305
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1310690302}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1 &1432441530
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1432441531}
|
||||||
|
- component: {fileID: 1432441533}
|
||||||
|
- component: {fileID: 1432441532}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Text (TMP)
|
m_Name: Text (TMP)
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@@ -406,19 +581,19 @@ GameObject:
|
|||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 1
|
||||||
--- !u!224 &1019554695
|
--- !u!224 &1432441531
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1019554694}
|
m_GameObject: {fileID: 1432441530}
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 534187231}
|
m_Father: {fileID: 828138249}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
@@ -426,13 +601,13 @@ RectTransform:
|
|||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &1019554696
|
--- !u!114 &1432441532
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1019554694}
|
m_GameObject: {fileID: 1432441530}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
@@ -515,15 +690,15 @@ MonoBehaviour:
|
|||||||
m_hasFontAssetChanged: 0
|
m_hasFontAssetChanged: 0
|
||||||
m_baseMaterial: {fileID: 0}
|
m_baseMaterial: {fileID: 0}
|
||||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||||
--- !u!222 &1019554697
|
--- !u!222 &1432441533
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1019554694}
|
m_GameObject: {fileID: 1432441530}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &1782492010
|
--- !u!1 &1442263262
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@@ -531,43 +706,192 @@ GameObject:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 1782492011}
|
- component: {fileID: 1442263268}
|
||||||
- component: {fileID: 1782492013}
|
- component: {fileID: 1442263267}
|
||||||
- component: {fileID: 1782492012}
|
- component: {fileID: 1442263266}
|
||||||
m_Layer: 5
|
- component: {fileID: 1442263265}
|
||||||
m_Name: vesztett_text
|
- component: {fileID: 1442263263}
|
||||||
m_TagString: Untagged
|
- component: {fileID: 1442263264}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Main Camera
|
||||||
|
m_TagString: MainCamera
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 1
|
||||||
--- !u!224 &1782492011
|
--- !u!114 &1442263263
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1782492010}
|
|
||||||
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: 1833175879}
|
|
||||||
m_RootOrder: 0
|
|
||||||
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: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 200, y: 50}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!114 &1782492012
|
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1782492010}
|
m_GameObject: {fileID: 1442263262}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: b9102add15fe89844a6f103c51332836, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
MainMenuObj: {fileID: 0}
|
||||||
|
OptionsMenu: {fileID: 0}
|
||||||
|
VideoButton: {fileID: 0}
|
||||||
|
--- !u!114 &1442263264
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1442263262}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 38c0315629436f34d8ba48f6d00b8302, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
szoveg: {fileID: 1845412276}
|
||||||
|
osszpont: 0
|
||||||
|
--- !u!114 &1442263265
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1442263262}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_RenderShadows: 1
|
||||||
|
m_RequiresDepthTextureOption: 2
|
||||||
|
m_RequiresOpaqueTextureOption: 2
|
||||||
|
m_CameraType: 0
|
||||||
|
m_Cameras: []
|
||||||
|
m_RendererIndex: -1
|
||||||
|
m_VolumeLayerMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 1
|
||||||
|
m_VolumeTrigger: {fileID: 0}
|
||||||
|
m_VolumeFrameworkUpdateModeOption: 2
|
||||||
|
m_RenderPostProcessing: 0
|
||||||
|
m_Antialiasing: 0
|
||||||
|
m_AntialiasingQuality: 2
|
||||||
|
m_StopNaN: 0
|
||||||
|
m_Dithering: 0
|
||||||
|
m_ClearDepth: 1
|
||||||
|
m_AllowXRRendering: 1
|
||||||
|
m_RequiresDepthTexture: 0
|
||||||
|
m_RequiresColorTexture: 0
|
||||||
|
m_Version: 2
|
||||||
|
--- !u!81 &1442263266
|
||||||
|
AudioListener:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1442263262}
|
||||||
|
m_Enabled: 1
|
||||||
|
--- !u!20 &1442263267
|
||||||
|
Camera:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1442263262}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_ClearFlags: 2
|
||||||
|
m_BackGroundColor: {r: 0.5764706, g: 0.5764706, b: 0.5764706, a: 0}
|
||||||
|
m_projectionMatrixMode: 1
|
||||||
|
m_GateFitMode: 2
|
||||||
|
m_FOVAxisMode: 0
|
||||||
|
m_SensorSize: {x: 36, y: 24}
|
||||||
|
m_LensShift: {x: 0, y: 0}
|
||||||
|
m_FocalLength: 50
|
||||||
|
m_NormalizedViewPortRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 1
|
||||||
|
height: 1
|
||||||
|
near clip plane: 0.3
|
||||||
|
far clip plane: 1000
|
||||||
|
field of view: 60
|
||||||
|
orthographic: 1
|
||||||
|
orthographic size: 5
|
||||||
|
m_Depth: -1
|
||||||
|
m_CullingMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 4294967295
|
||||||
|
m_RenderingPath: -1
|
||||||
|
m_TargetTexture: {fileID: 0}
|
||||||
|
m_TargetDisplay: 0
|
||||||
|
m_TargetEye: 3
|
||||||
|
m_HDR: 1
|
||||||
|
m_AllowMSAA: 1
|
||||||
|
m_AllowDynamicResolution: 0
|
||||||
|
m_ForceIntoRT: 0
|
||||||
|
m_OcclusionCulling: 1
|
||||||
|
m_StereoConvergence: 10
|
||||||
|
m_StereoSeparation: 0.022
|
||||||
|
--- !u!4 &1442263268
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1442263262}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: -10}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!1 &1845412274
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1845412275}
|
||||||
|
- component: {fileID: 1845412277}
|
||||||
|
- component: {fileID: 1845412276}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: pont_text
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1845412275
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1845412274}
|
||||||
|
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: 1055402643}
|
||||||
|
m_RootOrder: 2
|
||||||
|
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.9000096, y: -65.61}
|
||||||
|
m_SizeDelta: {x: 306.5059, y: 50}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &1845412276
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1845412274}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
@@ -581,7 +905,7 @@ MonoBehaviour:
|
|||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_text: Vesztettel
|
m_text: 'Pontszam: '
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
@@ -614,9 +938,9 @@ MonoBehaviour:
|
|||||||
m_enableAutoSizing: 0
|
m_enableAutoSizing: 0
|
||||||
m_fontSizeMin: 18
|
m_fontSizeMin: 18
|
||||||
m_fontSizeMax: 72
|
m_fontSizeMax: 72
|
||||||
m_fontStyle: 1
|
m_fontStyle: 0
|
||||||
m_HorizontalAlignment: 2
|
m_HorizontalAlignment: 1
|
||||||
m_VerticalAlignment: 512
|
m_VerticalAlignment: 256
|
||||||
m_textAlignment: 65535
|
m_textAlignment: 65535
|
||||||
m_characterSpacing: 0
|
m_characterSpacing: 0
|
||||||
m_wordSpacing: 0
|
m_wordSpacing: 0
|
||||||
@@ -650,113 +974,11 @@ MonoBehaviour:
|
|||||||
m_hasFontAssetChanged: 0
|
m_hasFontAssetChanged: 0
|
||||||
m_baseMaterial: {fileID: 0}
|
m_baseMaterial: {fileID: 0}
|
||||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||||
--- !u!222 &1782492013
|
--- !u!222 &1845412277
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1782492010}
|
m_GameObject: {fileID: 1845412274}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &1833175875
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1833175879}
|
|
||||||
- component: {fileID: 1833175878}
|
|
||||||
- component: {fileID: 1833175877}
|
|
||||||
- component: {fileID: 1833175876}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Canvas
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &1833175876
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1833175875}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_IgnoreReversedGraphics: 1
|
|
||||||
m_BlockingObjects: 0
|
|
||||||
m_BlockingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
--- !u!114 &1833175877
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1833175875}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_UiScaleMode: 0
|
|
||||||
m_ReferencePixelsPerUnit: 100
|
|
||||||
m_ScaleFactor: 1
|
|
||||||
m_ReferenceResolution: {x: 800, y: 600}
|
|
||||||
m_ScreenMatchMode: 0
|
|
||||||
m_MatchWidthOrHeight: 0
|
|
||||||
m_PhysicalUnit: 3
|
|
||||||
m_FallbackScreenDPI: 96
|
|
||||||
m_DefaultSpriteDPI: 96
|
|
||||||
m_DynamicPixelsPerUnit: 1
|
|
||||||
m_PresetInfoIsWorld: 0
|
|
||||||
--- !u!223 &1833175878
|
|
||||||
Canvas:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1833175875}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_Camera: {fileID: 0}
|
|
||||||
m_PlaneDistance: 100
|
|
||||||
m_PixelPerfect: 0
|
|
||||||
m_ReceivesEvents: 1
|
|
||||||
m_OverrideSorting: 0
|
|
||||||
m_OverridePixelPerfect: 0
|
|
||||||
m_SortingBucketNormalizedSize: 0
|
|
||||||
m_AdditionalShaderChannelsFlag: 25
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
--- !u!224 &1833175879
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1833175875}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 1782492011}
|
|
||||||
- {fileID: 534187231}
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 1
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
|
||||||
m_AnchorMax: {x: 0, y: 0}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
|
||||||
m_Pivot: {x: 0, y: 0}
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 95f354166198c1b48a8b08c5727326ee
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 112000000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@@ -1,96 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: de98d5191b109e64298a590d0c5c950a
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 11
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 1
|
|
||||||
sRGBTexture: 1
|
|
||||||
linearTexture: 0
|
|
||||||
fadeOut: 0
|
|
||||||
borderMipMap: 0
|
|
||||||
mipMapsPreserveCoverage: 0
|
|
||||||
alphaTestReferenceValue: 0.5
|
|
||||||
mipMapFadeDistanceStart: 1
|
|
||||||
mipMapFadeDistanceEnd: 3
|
|
||||||
bumpmap:
|
|
||||||
convertToNormalMap: 0
|
|
||||||
externalNormalMap: 0
|
|
||||||
heightScale: 0.25
|
|
||||||
normalMapFilter: 0
|
|
||||||
isReadable: 0
|
|
||||||
streamingMipmaps: 0
|
|
||||||
streamingMipmapsPriority: 0
|
|
||||||
vTOnly: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 1
|
|
||||||
seamlessCubemap: 1
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 2
|
|
||||||
aniso: 0
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 1
|
|
||||||
wrapV: 1
|
|
||||||
wrapW: 1
|
|
||||||
nPOTScale: 1
|
|
||||||
lightmap: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
spriteMode: 0
|
|
||||||
spriteExtrude: 1
|
|
||||||
spriteMeshType: 1
|
|
||||||
alignment: 0
|
|
||||||
spritePivot: {x: 0.5, y: 0.5}
|
|
||||||
spritePixelsToUnits: 100
|
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
spriteGenerateFallbackPhysicsShape: 1
|
|
||||||
alphaUsage: 1
|
|
||||||
alphaIsTransparency: 0
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 0
|
|
||||||
textureShape: 2
|
|
||||||
singleChannelComponent: 0
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
platformSettings:
|
|
||||||
- serializedVersion: 3
|
|
||||||
buildTarget: DefaultTexturePlatform
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 100
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
spriteSheet:
|
|
||||||
serializedVersion: 2
|
|
||||||
sprites: []
|
|
||||||
outline: []
|
|
||||||
physicsShape: []
|
|
||||||
bones: []
|
|
||||||
spriteID:
|
|
||||||
internalID: 0
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
secondaryTextures: []
|
|
||||||
spritePackingTag:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
pSDShowRemoveMatteOption: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -4,34 +4,31 @@ using UnityEngine;
|
|||||||
using TMPro;
|
using TMPro;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System;
|
using System;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class Akciok : MonoBehaviour
|
public class Akciok : MonoBehaviour
|
||||||
{
|
{
|
||||||
//Betarazashoz
|
//Betarazashoz
|
||||||
|
public int toltenyszamlalo = 0;
|
||||||
public TMP_Text[] toltenyek;
|
public TMP_Text[] toltenyek;
|
||||||
|
|
||||||
private int tolteny_index = 3;
|
private int tolteny_index = 3;
|
||||||
private int felhasznalt_tolteny = 0;
|
private int felhasznalt_tolteny = 0;
|
||||||
public int betarazott_tolteny = 3;
|
private int betarazott_tolteny = 3;
|
||||||
private Akciopont ap;
|
|
||||||
|
|
||||||
public int toltenyszamlalo = 0;
|
public int betarazasDb = 2;
|
||||||
|
|
||||||
|
public int getBetarazottTolteny(){ return betarazott_tolteny; }
|
||||||
|
|
||||||
|
//
|
||||||
|
private Akciopont ap;
|
||||||
//
|
//
|
||||||
|
|
||||||
//Nyomozashoz
|
//Nyomozashoz
|
||||||
private movement movement;
|
private movement movement;
|
||||||
public TMP_Text[] nyomozas_x;
|
public TMP_Text[] nyomozas_x;
|
||||||
public TMP_Text[] nyomozas_oszlop;
|
public TMP_Text[] nyomozas_oszlop;
|
||||||
private string[,] nyomozasok =
|
private bool[,] nyomozas = new bool[4,3];
|
||||||
{
|
|
||||||
{"ures", "ures", "ures", "" },
|
|
||||||
{"ures", "ures", "ures", "" },
|
|
||||||
{"ures", "ures", "ures", "" },
|
|
||||||
{"ures", "ures", "ures", "" },
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
|
|
||||||
//Hack
|
//Hack
|
||||||
public TMP_Text elso_sor_text;
|
public TMP_Text elso_sor_text;
|
||||||
@@ -48,13 +45,21 @@ public class Akciok : MonoBehaviour
|
|||||||
private bool omega = false;
|
private bool omega = false;
|
||||||
//
|
//
|
||||||
|
|
||||||
private void Start()
|
private DoubleClick doubleClick;
|
||||||
{
|
private MessageBox messageBox;
|
||||||
|
|
||||||
|
|
||||||
|
private void Awake(){
|
||||||
ap = FindObjectOfType<Akciopont>();
|
ap = FindObjectOfType<Akciopont>();
|
||||||
movement = FindObjectOfType<movement>();
|
movement = FindObjectOfType<movement>();
|
||||||
upgrade = FindObjectOfType<Upgrade>();
|
upgrade = FindObjectOfType<Upgrade>();
|
||||||
source = FindObjectOfType<Source>();
|
source = FindObjectOfType<Source>();
|
||||||
|
|
||||||
|
doubleClick = FindObjectOfType<DoubleClick>();
|
||||||
|
messageBox = FindObjectOfType<MessageBox>();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Start(){
|
||||||
//kezdesnel karikazza be az elso harom adott toltenyt
|
//kezdesnel karikazza be az elso harom adott toltenyt
|
||||||
for (int i = 0; i < tolteny_index; i++)
|
for (int i = 0; i < tolteny_index; i++)
|
||||||
{
|
{
|
||||||
@@ -62,17 +67,30 @@ public class Akciok : MonoBehaviour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Betarazas(int betarazas)
|
|
||||||
|
public void CallBetarazas(){
|
||||||
|
doubleClick.AddEvent(Betarazas);
|
||||||
|
messageBox.SendMessageToBox("Biztos be akarsz tárazni 2 töltényt? (Ez 1 ap-ba kerül)");
|
||||||
|
doubleClick.ShowConfirmation();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Betarazas()
|
||||||
{
|
{
|
||||||
if (tolteny_index < 24 && ap.akciopont != 0)
|
//int betarazas = 2;
|
||||||
|
if(ap.getAkciopont() == 0){
|
||||||
|
messageBox.SendMessageToBox("Nincs elég ap-d az akcióhoz!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tolteny_index < 24)
|
||||||
{
|
{
|
||||||
if (tolteny_index + betarazas > 23)
|
if (tolteny_index + betarazasDb > 24)
|
||||||
{
|
{
|
||||||
tolteny_index = 23;
|
tolteny_index = 24;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
tolteny_index += betarazas;
|
tolteny_index += betarazasDb;
|
||||||
}
|
}
|
||||||
//felhasznalt toltenytol megy hogy az ott levo x-et ne irja felul
|
//felhasznalt toltenytol megy hogy az ott levo x-et ne irja felul
|
||||||
for (int i = felhasznalt_tolteny; i < tolteny_index; i++)
|
for (int i = felhasznalt_tolteny; i < tolteny_index; i++)
|
||||||
@@ -80,16 +98,20 @@ public class Akciok : MonoBehaviour
|
|||||||
toltenyek[i].text = "O";
|
toltenyek[i].text = "O";
|
||||||
}
|
}
|
||||||
|
|
||||||
betarazott_tolteny += betarazas;
|
betarazott_tolteny += betarazasDb;
|
||||||
//tolteny_index++;
|
if(betarazott_tolteny > 24){
|
||||||
ap.akciopont--;
|
betarazott_tolteny = 24;
|
||||||
|
}
|
||||||
|
//tolteny_index++;
|
||||||
|
|
||||||
|
ap.UpdateAkciopont(-1);
|
||||||
|
|
||||||
Debug.Log("Tolteny betarazva");
|
Debug.Log("Tolteny betarazva");
|
||||||
Debug.Log("Betarazott toltenyek szama: " + betarazott_tolteny);
|
Debug.Log("Betarazott toltenyek szama: " + betarazott_tolteny);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Loves(int elhasznalt_toltenyek)
|
public bool Loves(int elhasznalt_toltenyek) //confirm TODO
|
||||||
{
|
{
|
||||||
if (felhasznalt_tolteny < betarazott_tolteny)
|
if (felhasznalt_tolteny < betarazott_tolteny)
|
||||||
{
|
{
|
||||||
@@ -118,11 +140,17 @@ public class Akciok : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void CallNyomozas(){
|
||||||
|
doubleClick.AddEvent(Nyomozas);
|
||||||
|
messageBox.SendMessageToBox("Biztos nyomozni akarsz? (Ez 1 ap-ba kerül)");
|
||||||
|
doubleClick.ShowConfirmation();
|
||||||
|
}
|
||||||
//Nyomozas
|
//Nyomozas
|
||||||
public void Nyomozas()
|
public void Nyomozas() //valami elromlott az indexelessel ha eventnek at van adva || ELVILEG JAVITVA TESZTELNI TOVABB NEM ART
|
||||||
{
|
{
|
||||||
if (ap.akciopont <= 0)
|
if (ap.getAkciopont() <= 0)
|
||||||
{
|
{
|
||||||
|
messageBox.SendMessageToBox("Nincs elég akciópontod!");
|
||||||
Debug.Log("nincs eleg akciopont");
|
Debug.Log("nincs eleg akciopont");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -130,50 +158,38 @@ public class Akciok : MonoBehaviour
|
|||||||
int atirandox = movement.jelenlegi_x - 1;
|
int atirandox = movement.jelenlegi_x - 1;
|
||||||
int atirandoy = movement.jelenlegi_y - 1;
|
int atirandoy = movement.jelenlegi_y - 1;
|
||||||
|
|
||||||
if (nyomozasok[atirandoy, atirandox] == "nyomozott")
|
if (nyomozas[atirandoy, atirandox])
|
||||||
{
|
{
|
||||||
Debug.Log("Itt mar nyomoztal");
|
Debug.Log("Itt mar nyomoztal");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
nyomozasok[atirandoy, atirandox] = "nyomozott";
|
nyomozas[atirandoy, atirandox] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int counter = 0;
|
int counter = 0;
|
||||||
//egy sorral feljebb megy
|
//egy sorral feljebb megy
|
||||||
for (int i = 0; i < nyomozasok.GetLength(0); i++)
|
for (int i = 0; i < nyomozas.GetLength(0); i++)
|
||||||
{
|
{
|
||||||
for (int j = 0; j < nyomozasok.GetLength(1); j++)
|
for (int j = 0; j < nyomozas.GetLength(1); j++)
|
||||||
{
|
{
|
||||||
if (nyomozasok[i, j].Equals("nyomozott"))
|
if (nyomozas[i, j])
|
||||||
{
|
{
|
||||||
nyomozas_x[counter].text = "X";
|
nyomozas_x[counter].text = "X";
|
||||||
counter++;
|
counter++;
|
||||||
Debug.Log("counter: " + counter);
|
Debug.Log("counter: " + counter);
|
||||||
}
|
}
|
||||||
else if (nyomozasok[i, j].Equals("ures"))
|
else if (!nyomozas[i, j])
|
||||||
{
|
{
|
||||||
counter++;
|
counter++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ap.akciopont--;
|
ap.UpdateAkciopont(-1);
|
||||||
|
|
||||||
NyomozasOszlopCheck();
|
NyomozasOszlopCheck();
|
||||||
|
|
||||||
Debug.Log("----------------");
|
|
||||||
for (int i = 0; i < nyomozasok.GetLength(0); i++)
|
|
||||||
{
|
|
||||||
string sor = "";
|
|
||||||
for (int j = 0; j < nyomozasok.GetLength(1); j++)
|
|
||||||
{
|
|
||||||
sor += nyomozasok[i, j] + " ";
|
|
||||||
}
|
|
||||||
Debug.Log(sor);
|
|
||||||
}
|
|
||||||
Debug.Log("----------------");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void NyomozasOszlopCheck()
|
private void NyomozasOszlopCheck()
|
||||||
@@ -183,10 +199,9 @@ public class Akciok : MonoBehaviour
|
|||||||
|
|
||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
{
|
{
|
||||||
if (nyomozasok[i, oszlop].Equals("nyomozott"))
|
if (nyomozas[i, oszlop])
|
||||||
{
|
{
|
||||||
nyomozas_counter++;
|
nyomozas_counter++;
|
||||||
//Debug.Log(nyomozasok[i, oszlop]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -194,20 +209,26 @@ public class Akciok : MonoBehaviour
|
|||||||
|
|
||||||
if (nyomozas_counter == 4)
|
if (nyomozas_counter == 4)
|
||||||
{
|
{
|
||||||
ap.akciopont += 2;
|
ap.UpdateAkciopont(2);
|
||||||
Debug.Log("Ap novelve");
|
Debug.Log("Ap novelve");
|
||||||
nyomozas_oszlop[oszlop].text = "X";
|
nyomozas_oszlop[oszlop].text = "X";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void Hack()
|
public void CallHack(){
|
||||||
|
doubleClick.AddEvent(Hack);
|
||||||
|
messageBox.SendMessageToBox("Biztos hackelni akarsz? (Ez "+upgrade.hack[upgrade.getHackIndex()]+" ap-ba kerül)");
|
||||||
|
doubleClick.ShowConfirmation();
|
||||||
|
}
|
||||||
|
private void Hack()
|
||||||
{
|
{
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int rand;
|
int rand;
|
||||||
|
|
||||||
if (ap.akciopont < upgrade.hack[upgrade.getHackIndex()])
|
if (ap.getAkciopont() < upgrade.hack[upgrade.getHackIndex()])
|
||||||
{ //van e eleg akicopont
|
{ //van e eleg akicopont
|
||||||
|
messageBox.SendMessageToBox("Nincs eleg akciopontod!");
|
||||||
Debug.Log("nincs eleg ap a hackeleshez");
|
Debug.Log("nincs eleg ap a hackeleshez");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -218,8 +239,7 @@ public class Akciok : MonoBehaviour
|
|||||||
//egy sorban lett e ketszer nyomozva
|
//egy sorban lett e ketszer nyomozva
|
||||||
for (int i = 0; i < 3; i++)
|
for (int i = 0; i < 3; i++)
|
||||||
{
|
{
|
||||||
//Debug.Log("Belep for");
|
if (nyomozas[movement.jelenlegi_y - 1, i])
|
||||||
if (nyomozasok[movement.jelenlegi_y - 1, i] == "nyomozott")
|
|
||||||
{
|
{
|
||||||
count++;
|
count++;
|
||||||
Debug.Log("count: " + count);
|
Debug.Log("count: " + count);
|
||||||
@@ -237,7 +257,6 @@ public class Akciok : MonoBehaviour
|
|||||||
//forras helyenek bejelolese
|
//forras helyenek bejelolese
|
||||||
if (count >= 2 && !hackelt_sorok.Contains(movement.jelenlegi_y))
|
if (count >= 2 && !hackelt_sorok.Contains(movement.jelenlegi_y))
|
||||||
{
|
{
|
||||||
Debug.Log("belep");
|
|
||||||
if (movement.jelenlegi_y == 1)
|
if (movement.jelenlegi_y == 1)
|
||||||
{
|
{
|
||||||
elso_sor_text.text = "X";
|
elso_sor_text.text = "X";
|
||||||
@@ -248,6 +267,7 @@ public class Akciok : MonoBehaviour
|
|||||||
{
|
{
|
||||||
rand = UnityEngine.Random.Range(1, 7);
|
rand = UnityEngine.Random.Range(1, 7);
|
||||||
Debug.Log("sorsolt szam: " + rand);
|
Debug.Log("sorsolt szam: " + rand);
|
||||||
|
|
||||||
if (movement.jelenlegi_y == 2)
|
if (movement.jelenlegi_y == 2)
|
||||||
{ //alpha, omega
|
{ //alpha, omega
|
||||||
if (rand < 4)
|
if (rand < 4)
|
||||||
@@ -302,12 +322,13 @@ public class Akciok : MonoBehaviour
|
|||||||
hackelt_sorok[movement.jelenlegi_y - 1] = movement.jelenlegi_y;
|
hackelt_sorok[movement.jelenlegi_y - 1] = movement.jelenlegi_y;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ap.akciopont -= upgrade.hack[upgrade.getHackIndex()]; //ap koltseg levonasa
|
|
||||||
|
ap.UpdateAkciopont(-upgrade.hack[upgrade.getHackIndex()]); //ap koltseg levonasa
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Debug.Log("itt mar hackeltel");
|
Debug.Log("itt mar hackeltel");
|
||||||
|
messageBox.SendMessageToBox("Itt már hackeltél!");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5,27 +5,26 @@ using TMPro;
|
|||||||
|
|
||||||
public class Akciopont : MonoBehaviour
|
public class Akciopont : MonoBehaviour
|
||||||
{
|
{
|
||||||
public TMP_Text text;
|
[SerializeField] private TMP_Text _text;
|
||||||
|
private int akciopont = 0;
|
||||||
|
|
||||||
public int akciopont = 0;
|
public int getAkciopont(){ return akciopont; }
|
||||||
|
|
||||||
// Start is called before the first frame update
|
private void Start(){
|
||||||
void Start()
|
setText();
|
||||||
{
|
|
||||||
text.text = "Akciopontok: ";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
private void setText(){
|
||||||
void Update()
|
_text.text = "Akciopontok: " + akciopont;
|
||||||
{
|
|
||||||
text.text = "Akciopontok: " + akciopont;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UpdateAkciopont(int number) {
|
public void UpdateAkciopont(int number) {
|
||||||
akciopont += number;
|
akciopont += number;
|
||||||
|
setText();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resetAkciopont() {
|
public void resetAkciopont() {
|
||||||
akciopont = 0;
|
akciopont = 0;
|
||||||
|
setText();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
41
Assets/Scripts/AspectRatioHandler.cs
Normal file
41
Assets/Scripts/AspectRatioHandler.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System;
|
||||||
|
using System.IO; //ideiglenes amig a mac camera bug nincs javitva aztan torolheto
|
||||||
|
using System.Text; //ideiglenes
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class AspectRatioHandler : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Camera mainCamera;
|
||||||
|
private StreamWriter writer;
|
||||||
|
|
||||||
|
private void Awake() {
|
||||||
|
//to be removed when mac aspect ratio is fixed
|
||||||
|
writer = new StreamWriter(Application.persistentDataPath + "/aspectratio.txt", false, Encoding.Default);
|
||||||
|
|
||||||
|
double aspectRatio = (double)Screen.width / (double)Screen.height;
|
||||||
|
aspectRatio = Math.Round(aspectRatio, 2);
|
||||||
|
writer.Write("felbontas: width: " + Screen.width + " height: " + Screen.height + " aspectratio: " + aspectRatio+ "unity aspect: " + mainCamera.aspect);
|
||||||
|
writer.Close();
|
||||||
|
Debug.Log("aspectratio: " + aspectRatio);
|
||||||
|
|
||||||
|
//5:4 1,25, 4:3 1,33, 16:9 1,77, 16:10 1,6, 21:9 2,33
|
||||||
|
|
||||||
|
if(aspectRatio == 1.78 || aspectRatio == 2.33){
|
||||||
|
if(Application.platform == RuntimePlatform.OSXPlayer)
|
||||||
|
mainCamera.orthographicSize = 11.5f; //mac aspect ratio fix???
|
||||||
|
else
|
||||||
|
mainCamera.orthographicSize = 10.4f; //16:9, 21:9
|
||||||
|
}else if(aspectRatio == 1.6){
|
||||||
|
if(Application.platform == RuntimePlatform.OSXPlayer)
|
||||||
|
mainCamera.orthographicSize = 11.5f; //mac aspect ratio fix???
|
||||||
|
else
|
||||||
|
mainCamera.orthographicSize = 11.43f; //16:9, 21:9 //16:10 11.43f
|
||||||
|
}else if(aspectRatio == 1.33){
|
||||||
|
mainCamera.orthographicSize = 13.72f; //4:3
|
||||||
|
}else if(aspectRatio == 1.25){
|
||||||
|
mainCamera.orthographicSize = 14.68f;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 32cd04417f58e9744b4743a6cc333196
|
guid: f1646c9ba4620a0e7861327e11e40849
|
||||||
MonoImporter:
|
MonoImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
39
Assets/Scripts/AudioManager.cs
Normal file
39
Assets/Scripts/AudioManager.cs
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.Audio;
|
||||||
|
|
||||||
|
public class AudioManager : MonoBehaviour
|
||||||
|
{
|
||||||
|
public AudioMixer audioMixer;
|
||||||
|
public Sound[] sounds;
|
||||||
|
|
||||||
|
private void Awake() {
|
||||||
|
foreach(Sound s in sounds){
|
||||||
|
s.source = gameObject.AddComponent<AudioSource>();
|
||||||
|
s.source.clip = s.clip;
|
||||||
|
|
||||||
|
s.source.volume = s.volume;
|
||||||
|
s.source.pitch = s.pitch;
|
||||||
|
s.source.loop = s.loop;
|
||||||
|
|
||||||
|
s.source.outputAudioMixerGroup = s.outputMixer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Play(string name){
|
||||||
|
Sound s = Array.Find(sounds, sounds => sounds.name == name);
|
||||||
|
s.source.Play();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetMainVolume(float mainVolume) {
|
||||||
|
audioMixer.SetFloat("Master", mainVolume);
|
||||||
|
}
|
||||||
|
public void SetMusicVolume(float musicVolume) {
|
||||||
|
audioMixer.SetFloat("Music", musicVolume);
|
||||||
|
}
|
||||||
|
public void SetSfxVolume(float sfxVolume) {
|
||||||
|
audioMixer.SetFloat("Sfx", sfxVolume);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: eaba8d7c523212e4a8a40fcef8e9eb9e
|
guid: cc69655c5f792d9dab9db9dc72d26e93
|
||||||
MonoImporter:
|
MonoImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
@@ -4,10 +4,10 @@ using UnityEngine;
|
|||||||
|
|
||||||
public class CameraMovement : MonoBehaviour
|
public class CameraMovement : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
//not in use currently
|
||||||
public Camera mainCamera;
|
public Camera mainCamera;
|
||||||
public Vector3 offset;
|
public Vector3 offset;
|
||||||
|
|
||||||
|
|
||||||
public void moveCameraToTarget(Transform target) {
|
public void moveCameraToTarget(Transform target) {
|
||||||
Debug.Log("Moved to " + target.name);
|
Debug.Log("Moved to " + target.name);
|
||||||
mainCamera.transform.position = target.position + offset;
|
mainCamera.transform.position = target.position + offset;
|
||||||
|
|||||||
40
Assets/Scripts/ControllerHandler.cs
Normal file
40
Assets/Scripts/ControllerHandler.cs
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class ControllerHandler : MonoBehaviour
|
||||||
|
{
|
||||||
|
//if controller movement is detected hide the cursor and and spawn a ui object to act as a cursor for controller
|
||||||
|
|
||||||
|
[SerializeField] private bool connected = false;
|
||||||
|
public string[] controllers;
|
||||||
|
|
||||||
|
private IEnumerator detectControllers(){
|
||||||
|
while(true){
|
||||||
|
controllers = Input.GetJoystickNames();
|
||||||
|
|
||||||
|
if(!connected && controllers.Length > 0){
|
||||||
|
Debug.Log("Controller connected");
|
||||||
|
for(int i = 0; i < controllers.Length; i++){
|
||||||
|
Debug.Log(controllers[i]);
|
||||||
|
|
||||||
|
//lock and disable mouse
|
||||||
|
//Cursor.lockState = CursorLockMode.locked;
|
||||||
|
//Cursor.visible = false;
|
||||||
|
|
||||||
|
//yield break;
|
||||||
|
}
|
||||||
|
}else if(connected && controllers.Length == 0){
|
||||||
|
Debug.Log("disconnected / not connected");
|
||||||
|
}else if(!connected && controllers.Length == 0){
|
||||||
|
Debug.Log("not connected");
|
||||||
|
}
|
||||||
|
|
||||||
|
yield return new WaitForSecondsRealtime(5f); //check every 5 seconds
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Awake() {
|
||||||
|
StartCoroutine(detectControllers());
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 30554c5b5d693404cab81430d7e894ea
|
guid: 5834fb3b3751703f9bfcd35d25b4ccc4
|
||||||
MonoImporter:
|
MonoImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
@@ -1,32 +1,34 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using TMPro;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
using static jatekmanager;
|
|
||||||
|
|
||||||
public class Dice : MonoBehaviour {
|
public class Dice : MonoBehaviour {
|
||||||
public Sprite[] diceSides = new Sprite[6];
|
public Sprite[] diceSides = new Sprite[6];
|
||||||
public SpriteRenderer hely1;
|
public SpriteRenderer hely1;
|
||||||
public SpriteRenderer hely2;
|
public SpriteRenderer hely2;
|
||||||
|
[SerializeField] private int spriteSize = 60;
|
||||||
|
private Vector2 diceSpriteSize;
|
||||||
|
|
||||||
|
public Button dice1btnBtn;
|
||||||
|
public Button dice2btnBtn;
|
||||||
|
|
||||||
private Upgrade upgrade;
|
private Upgrade upgrade;
|
||||||
private Akciopont ap;
|
private Akciopont ap;
|
||||||
private Energia energiasav;
|
private Energia energiasav;
|
||||||
private Targyak targyak;
|
private Targyak targyak;
|
||||||
|
private Ugynok ugynok;
|
||||||
|
private movement movement;
|
||||||
|
|
||||||
public int[] diceResult = { 0, 0 };
|
public int[] diceResult = { 0, 0 };
|
||||||
public int[] ujertek;
|
public List<int> ujertek = new List<int>();
|
||||||
public int valasztottErtek; //a jatekos altal valasztott dobott ertek helye
|
public int valasztottErtek; //a jatekos altal valasztott dobott ertek helye
|
||||||
private bool locked = false; //ne lehessen ujra kivalasztani a masikat ha mar tortent egy valasztas
|
[SerializeField] private bool locked = false; //ne lehessen ujra kivalasztani a masikat ha mar tortent egy valasztas
|
||||||
|
|
||||||
public bool adrenalinMegerosites = false;
|
public bool adrenalinMegerosites = false;
|
||||||
public GameObject adrenalinHasznalat;
|
public GameObject adrenalinHasznalat;
|
||||||
public Button confirm;
|
public Button confirm;
|
||||||
public Button cancel;
|
public Button cancel;
|
||||||
|
public bool mehet = false;
|
||||||
public GameObject rolldice;
|
|
||||||
|
|
||||||
|
|
||||||
public BoxCollider2D[] colliders;
|
public BoxCollider2D[] colliders;
|
||||||
|
|
||||||
//getters setters
|
//getters setters
|
||||||
@@ -35,44 +37,101 @@ public class Dice : MonoBehaviour {
|
|||||||
public void setValasztottErtek(int ujErtek) { valasztottErtek = ujErtek; }
|
public void setValasztottErtek(int ujErtek) { valasztottErtek = ujErtek; }
|
||||||
public bool getLocked() { return locked; }
|
public bool getLocked() { return locked; }
|
||||||
public void setLocked(bool locked) { this.locked = locked; }
|
public void setLocked(bool locked) { this.locked = locked; }
|
||||||
|
|
||||||
public int dobott = 0;
|
public int dobott = 0;
|
||||||
|
public bool dobottEgyszer = false; //tudjon ujra dobni vagy nem
|
||||||
|
public int ujradobasszamlalo;
|
||||||
|
|
||||||
private void Start() {
|
[SerializeField] private bool ugynokDobasErtek = false; //ertek valasztashoz hogy tudja az ugynok csapat miatt lett meghivva
|
||||||
|
private bool elsoDobas = true;
|
||||||
|
private void Awake() {
|
||||||
upgrade = FindObjectOfType<Upgrade>();
|
upgrade = FindObjectOfType<Upgrade>();
|
||||||
ap = FindObjectOfType<Akciopont>();
|
ap = FindObjectOfType<Akciopont>();
|
||||||
energiasav = FindObjectOfType<Energia>();
|
energiasav = FindObjectOfType<Energia>();
|
||||||
targyak = FindObjectOfType<Targyak>();
|
targyak = FindObjectOfType<Targyak>();
|
||||||
}
|
ugynok = FindObjectOfType<Ugynok>();
|
||||||
|
movement = FindObjectOfType<movement>();
|
||||||
|
|
||||||
|
diceSpriteSize = new Vector2(spriteSize, spriteSize);
|
||||||
|
}
|
||||||
|
|
||||||
public void ertekValasztas(GameObject gomb) {
|
public void ertekValasztas(GameObject gomb) {
|
||||||
if (diceResult[0] != 0 && diceResult[1] != 0 && !locked) { //megnezzuk hogy lett e mar dobva es nem valasztott meg a jatekos
|
if (diceResult[0] != 0 && diceResult[1] != 0 && !locked) { //megnezzuk hogy lett e mar dobva es nem valasztott meg a jatekos
|
||||||
if (gomb.name == "dice1btn") {
|
if (gomb.name == "dice1btn") {
|
||||||
valasztottErtek = diceResult[0];
|
valasztottErtek = diceResult[0];
|
||||||
if (diceResult[0] < diceResult[1]) {
|
if (diceResult[0] < diceResult[1]) {
|
||||||
upgrade.canUpgrade = true; //kisebb szam valasztasa eseten fejlesztes egyszer
|
if(!ugynokDobasErtek){
|
||||||
jatekmanager.Instance.UpdateGameState(GameState.Fejlesztes); //a jatekmanager atvalt a fejlesztes eventre
|
upgrade.canUpgrade = true; //kisebb szam valasztasa eseten fejlesztes egyszer
|
||||||
} else {
|
//locked = true;
|
||||||
energiasav.csokkenEnergia(1); //nagyobb szam valasztasa eseten -1 energia
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Fejlesztes);
|
||||||
jatekmanager.Instance.UpdateGameState(GameState.Akcio); //a jatekmanager atvalt az akcio eventre
|
}else{
|
||||||
}
|
//ugynok csapat szama
|
||||||
|
ugynok.UgynokSorsolas(movement.jelenlegi_x, movement.jelenlegi_y, valasztottErtek);
|
||||||
|
|
||||||
|
//-1 energia
|
||||||
|
energiasav.csokkenEnergia(1);
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Akcio);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if(!ugynokDobasErtek){
|
||||||
|
energiasav.csokkenEnergia(1); //nagyobb szam valasztasa eseten -1 energia
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Akcio);
|
||||||
|
//locked = true;
|
||||||
|
}else{
|
||||||
|
//ugynok csapat szama
|
||||||
|
ugynok.UgynokSorsolas(movement.jelenlegi_x, movement.jelenlegi_y, valasztottErtek);
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Akcio);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//if(!ugynokDobasErtek)
|
||||||
|
locked = true;
|
||||||
|
|
||||||
locked = true;
|
|
||||||
} else if (gomb.name == "dice2btn") {
|
} else if (gomb.name == "dice2btn") {
|
||||||
valasztottErtek = diceResult[1];
|
valasztottErtek = diceResult[1];
|
||||||
if (diceResult[1] < diceResult[0]) {
|
if (diceResult[1] < diceResult[0]) {
|
||||||
upgrade.canUpgrade = true;
|
if(!ugynokDobasErtek){
|
||||||
jatekmanager.Instance.UpdateGameState(GameState.Fejlesztes); //a jatekmanager atvalt a fejlesztes eventre
|
upgrade.canUpgrade = true; //kisebb szam valasztasa eseten fejlesztes egyszer
|
||||||
|
//locked = true;
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Fejlesztes);
|
||||||
|
}else{
|
||||||
|
//ugynok csapat szama
|
||||||
|
ugynok.UgynokSorsolas(movement.jelenlegi_x, movement.jelenlegi_y, valasztottErtek);
|
||||||
|
//-1 energia
|
||||||
|
energiasav.csokkenEnergia(1);
|
||||||
|
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Akcio);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
energiasav.csokkenEnergia(1);
|
if(!ugynokDobasErtek){
|
||||||
jatekmanager.Instance.UpdateGameState(GameState.Akcio); //a jatekmanager atvalt az akcio eventre
|
energiasav.csokkenEnergia(1); //nagyobb szam valasztasa eseten -1 energia
|
||||||
|
//locked = true;
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Akcio);
|
||||||
|
}else{
|
||||||
|
//ugynok csapat szama
|
||||||
|
ugynok.UgynokSorsolas(movement.jelenlegi_x, movement.jelenlegi_y, valasztottErtek);
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Akcio);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locked = true;
|
//if(!ugynokDobasErtek)
|
||||||
|
locked = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
ap.UpdateAkciopont(getValasztottErtek() + upgrade.akcio[upgrade.getAkcioIndex()]);
|
if(!ugynokDobasErtek)
|
||||||
|
ap.UpdateAkciopont(getValasztottErtek() + upgrade.akcio[upgrade.getAkcioIndex()]);
|
||||||
|
else{
|
||||||
|
ugynokDobasErtek = false;
|
||||||
|
setLocked(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
dice1btnBtn.interactable = false;
|
||||||
|
dice2btnBtn.interactable = false;
|
||||||
|
|
||||||
|
/*if(elsoDobas){
|
||||||
|
//jatek kezdeskor elso dobas ugynok csapat meghatarozas kezdo helyszinen
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.UgynokValasztas);
|
||||||
|
CallRenderDice(true);
|
||||||
|
elsoDobas = false;
|
||||||
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug.Log("valasztott ertek: " + valasztottErtek + " locked status: " + locked);
|
Debug.Log("valasztott ertek: " + valasztottErtek + " locked status: " + locked);
|
||||||
@@ -85,42 +144,42 @@ public class Dice : MonoBehaviour {
|
|||||||
Debug.Log(finalSide);
|
Debug.Log(finalSide);
|
||||||
|
|
||||||
return finalSide;
|
return finalSide;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void CallRenderDice() => StartCoroutine(renderDice());
|
public void CallRenderDice(bool ugynokDobas) => StartCoroutine(renderDice(ugynokDobas));
|
||||||
|
|
||||||
|
public IEnumerator renderDice(bool ugynokDobas) {
|
||||||
|
//ha zarolva van akkor ne tudjon ujra dobni / csak egyszer dobhasson (amig nincs feloldva a kovetkezo dobashoz)
|
||||||
|
//ha ugynok miatt kell dobni mikor mar nincs ujradobas tudjon dobni
|
||||||
|
if(dobottEgyszer && !ugynokDobas) yield break;
|
||||||
|
|
||||||
|
//dice gombok kikapcsolasa hogy amig nem vegez ne tudjon erteket valasztani
|
||||||
|
dice1btnBtn.enabled = false;
|
||||||
|
dice2btnBtn.enabled = false;
|
||||||
|
|
||||||
public IEnumerator renderDice() {
|
|
||||||
do {
|
do {
|
||||||
diceResult[0] = RollDice();
|
diceResult[0] = RollDice();
|
||||||
diceResult[1] = RollDice();
|
diceResult[1] = RollDice();
|
||||||
} while (diceResult[0] == diceResult[1]);
|
} while (diceResult[0] == diceResult[1]);
|
||||||
|
|
||||||
|
//dice porgo animacio
|
||||||
|
callAnimateDice(hely1, diceResult[0]);
|
||||||
|
callAnimateDice(hely2, diceResult[1]);
|
||||||
|
|
||||||
//lassa a jatekos mit dobott
|
//lassa a jatekos mit dobott
|
||||||
hely1.sprite = diceSides[diceResult[0]-1];
|
hely1.sprite = diceSides[diceResult[0]-1];
|
||||||
hely1.size = new Vector2(38, 38);
|
hely1.size = diceSpriteSize;
|
||||||
|
|
||||||
hely2.sprite = diceSides[diceResult[1]-1];
|
hely2.sprite = diceSides[diceResult[1]-1];
|
||||||
hely2.size = new Vector2(38, 38);
|
hely2.size = diceSpriteSize;
|
||||||
|
|
||||||
dobott++;
|
if(ugynokDobas){
|
||||||
Debug.Log("Ennyit dobtál: " + dobott);
|
ugynokDobasErtek = true;
|
||||||
Debug.Log("Ennyi dobásod van még: " + ((upgrade.getUjradobasIndex() + 1) - dobott));
|
setLocked(false);
|
||||||
|
|
||||||
//jatemanager reszere
|
|
||||||
if (dobott < upgrade.getUjradobasIndex() + 1)
|
|
||||||
{
|
|
||||||
Debug.Log(dobott);
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
//ha megvan a targy
|
||||||
rolldice.SetActive(false);
|
if(targyak.adrenalinloket > 0) {
|
||||||
Debug.Log("Nincs több dobásod a körben");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (targyak.adrenalinloket > 0) {
|
|
||||||
//helyszin collider kikapcsolas a gomb miatt
|
//helyszin collider kikapcsolas a gomb miatt
|
||||||
HelyszinKiBekapcs(true);
|
HelyszinKiBekapcs(true);
|
||||||
//text aktivalasa kerdesre hogy akarja e hasznalni a targyat
|
//text aktivalasa kerdesre hogy akarja e hasznalni a targyat
|
||||||
@@ -134,30 +193,90 @@ public class Dice : MonoBehaviour {
|
|||||||
adrenalinMegerosites = true;
|
adrenalinMegerosites = true;
|
||||||
}else{
|
}else{
|
||||||
adrenalinMegerosites = false;
|
adrenalinMegerosites = false;
|
||||||
|
HelyszinKiBekapcs(false); //nem hasznalja fel ezert visszakapcsoljuk
|
||||||
}
|
}
|
||||||
|
|
||||||
adrenalinHasznalat.gameObject.SetActive(false);
|
adrenalinHasznalat.gameObject.SetActive(false);
|
||||||
|
|
||||||
if (adrenalinMegerosites) {
|
if (adrenalinMegerosites) {
|
||||||
Debug.Log("belep");
|
|
||||||
targyak.CallAdrenalinLoket();
|
targyak.CallAdrenalinLoket();
|
||||||
diceResult[0] = ujertek[0];
|
yield return new WaitUntil(() => ujertek.Count > 0);
|
||||||
diceResult[1] = ujertek[1];
|
if(mehet){
|
||||||
|
Debug.Log("belep mehet");
|
||||||
|
Debug.Log("List: 0: " + ujertek[0] + " 1: " + ujertek[1]);
|
||||||
|
//EGYENLO ERTEKEK VIZSGALATA
|
||||||
|
//ha tul nagy vagy tul kicsi erteket ad meg az elso kockanak valtsa at az erteket
|
||||||
|
if(targyak.ujertek1 > 6 && diceResult[1] != 6 && targyak.ujertek2 != 6){ //ha tul nagy szamot adott meg legyen 6 az ertek
|
||||||
|
targyak.ujertek1 = 6;
|
||||||
|
}else if(targyak.ujertek1 > 6 && (diceResult[1] == 6 || targyak.ujertek2 == 6)){ //ha a masik ertek 6 akkor legyen az ertek 5
|
||||||
|
targyak.ujertek1 = 5;
|
||||||
|
}else if(targyak.ujertek1 < 1 && diceResult[1] != 1 && targyak.ujertek2 != 1){
|
||||||
|
targyak.ujertek1 = 1;
|
||||||
|
}else if(targyak.ujertek1 < 1 && (diceResult[1] == 1 || targyak.ujertek2 == 1)){
|
||||||
|
targyak.ujertek1 = 2;
|
||||||
|
}else if(targyak.ujertek1 == targyak.ujertek2 || targyak.ujertek1 == diceResult[1]){ //ha egyenlo a ket uj ertek vagy az elso egyenlo a mar meglevo masodik kockaval
|
||||||
|
if(targyak.ujertek1 == 1){
|
||||||
|
targyak.ujertek1++;
|
||||||
|
}else if(targyak.ujertek1 == 6){
|
||||||
|
targyak.ujertek1--;
|
||||||
|
}else{
|
||||||
|
targyak.ujertek1--;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
|
||||||
|
//ha tul nagy vagy tul kicsi erteket ad meg az masodik kockanak valtsa at az erteket
|
||||||
|
if(targyak.ujertek2 > 6 && diceResult[0] != 6 && targyak.ujertek1 != 6){ //ha tul nagy szamot adott meg legyen 6 az ertek
|
||||||
|
targyak.ujertek2 = 6;
|
||||||
|
}else if(targyak.ujertek2 > 6 && (diceResult[0] == 6 || targyak.ujertek1 == 6)){ //ha a masik ertek 6 akkor legyen az ertek 5
|
||||||
|
targyak.ujertek2 = 5;
|
||||||
|
}else if(targyak.ujertek2 < 1 && diceResult[0] != 1 && targyak.ujertek1 != 1){
|
||||||
|
targyak.ujertek2 = 1;
|
||||||
|
}else if(targyak.ujertek2 < 1 && (diceResult[0] == 1 || targyak.ujertek1 == 1)){
|
||||||
|
targyak.ujertek2 = 2;
|
||||||
|
}/*else if(targyak.ujertek1 == targyak.ujertek2 || targyak.ujertek2 == diceResult[0]){ //ha egyenlo a ket uj ertek vagy a masodik egyenlo a mar meglevo elso kockaval
|
||||||
|
if(targyak.ujertek2 == 1){
|
||||||
|
targyak.ujertek2++;
|
||||||
|
}else if(targyak.ujertek2 == 6){
|
||||||
|
targyak.ujertek2--;
|
||||||
|
}else{
|
||||||
|
targyak.ujertek2--;
|
||||||
|
}
|
||||||
|
} */
|
||||||
|
|
||||||
|
diceResult[0] = targyak.ujertek1;
|
||||||
|
diceResult[1] = targyak.ujertek2;
|
||||||
|
dobottEgyszer = true;
|
||||||
|
|
||||||
|
if(!ugynokDobas) //ha ugynok miatt van dobas ne vonjon le
|
||||||
|
ujradobasszamlalo++; //elhasznal egyet fent
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//deaktivalas
|
//deaktivalas
|
||||||
Debug.Log("belep2");
|
|
||||||
adrenalinMegerosites = false;
|
adrenalinMegerosites = false;
|
||||||
HelyszinKiBekapcs(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
hely1.sprite = diceSides[diceResult[0]-1];
|
hely1.sprite = diceSides[diceResult[0]-1];
|
||||||
hely1.size = new Vector2(38, 38);
|
hely1.size = diceSpriteSize;
|
||||||
|
|
||||||
hely2.sprite = diceSides[diceResult[1]-1];
|
hely2.sprite = diceSides[diceResult[1]-1];
|
||||||
hely2.size = new Vector2(38, 38);
|
hely2.size = diceSpriteSize;
|
||||||
dobott++;
|
dobott++;
|
||||||
|
|
||||||
|
//ha vegzett mindennel kapcsolja vissza az ertekvalasztast
|
||||||
|
dice1btnBtn.enabled = true;
|
||||||
|
dice2btnBtn.enabled = true;
|
||||||
|
dice1btnBtn.interactable = true;
|
||||||
|
dice2btnBtn.interactable = true;
|
||||||
|
|
||||||
|
if(!ugynokDobas){ //ha ugynok miatt van dobas ne vonjon le
|
||||||
|
ujradobasszamlalo--;
|
||||||
|
Debug.Log("ujradobasszamlalo: " + ujradobasszamlalo);
|
||||||
|
if(ujradobasszamlalo == 0){
|
||||||
|
dobottEgyszer = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void HelyszinKiBekapcs(bool kikapcsolas){
|
public void HelyszinKiBekapcs(bool kikapcsolas){
|
||||||
@@ -168,22 +287,34 @@ public class Dice : MonoBehaviour {
|
|||||||
foreach(var item in colliders)
|
foreach(var item in colliders)
|
||||||
item.gameObject.SetActive(true);
|
item.gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerator waitbutton(){
|
|
||||||
Debug.Log("belep wait");
|
|
||||||
var waitForButton = new WaitForUIButtons(confirm, cancel);
|
|
||||||
yield return waitForButton.Reset();
|
|
||||||
|
|
||||||
if(waitForButton.PressedButton == confirm){
|
|
||||||
adrenalinMegerosites = true;
|
|
||||||
}else{
|
|
||||||
adrenalinMegerosites = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
adrenalinHasznalat.gameObject.SetActive(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setAdrenalinMegerosites(bool adrenalinMegerosites) {
|
public void setAdrenalinMegerosites(bool adrenalinMegerosites) {
|
||||||
this.adrenalinMegerosites = adrenalinMegerosites;
|
this.adrenalinMegerosites = adrenalinMegerosites;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void callAnimateDice(SpriteRenderer rend, int diceErtek, float waitTime = 500f) => StartCoroutine(AnimateTheDice(rend, diceErtek, waitTime));
|
||||||
|
private IEnumerator AnimateTheDice(SpriteRenderer rend, int diceErtek, float waitTime = 500f)
|
||||||
|
{
|
||||||
|
int randomDiceSide;
|
||||||
|
float time = 0f;
|
||||||
|
bool fusson = true;
|
||||||
|
|
||||||
|
while(fusson){
|
||||||
|
time += Time.time;
|
||||||
|
//Debug.Log("time: " + time);
|
||||||
|
|
||||||
|
if(time >= waitTime) fusson = false;
|
||||||
|
|
||||||
|
randomDiceSide = Random.Range(0, 5);
|
||||||
|
|
||||||
|
rend.sprite = diceSides[Random.Range(0, 5)];
|
||||||
|
rend.size = diceSpriteSize;
|
||||||
|
|
||||||
|
yield return new WaitForSecondsRealtime(0.05f);
|
||||||
|
}
|
||||||
|
|
||||||
|
rend.sprite = diceSides[diceErtek - 1];
|
||||||
|
rend.size = diceSpriteSize;
|
||||||
|
Kezdohelyszin.kesz = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
72
Assets/Scripts/DoubleClick.cs
Normal file
72
Assets/Scripts/DoubleClick.cs
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.Events;
|
||||||
|
using TMPro;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class DoubleClick : MonoBehaviour
|
||||||
|
{
|
||||||
|
private UnityEvent toDoubleClick; //event tarolo
|
||||||
|
[SerializeField] private Button confirmDoubleClick;
|
||||||
|
[SerializeField] private Button cancelDoubleClick;
|
||||||
|
|
||||||
|
private MessageBox messageBox;
|
||||||
|
|
||||||
|
private void Awake() {
|
||||||
|
messageBox = FindObjectOfType<MessageBox>();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Start() {
|
||||||
|
if(toDoubleClick == null){
|
||||||
|
toDoubleClick = new UnityEvent();
|
||||||
|
}
|
||||||
|
//AddEvent(TestFV); //testing only
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddEvent(UnityAction function, bool emptyEvents = true){ //event hozzaadasa
|
||||||
|
if(emptyEvents) RemoveFunctions(); //legyenek e torolve az eltarolt eventek
|
||||||
|
|
||||||
|
toDoubleClick.AddListener(function);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void RemoveFunctions(){ //eltarolt eventek torlese
|
||||||
|
toDoubleClick.RemoveAllListeners();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ShowConfirmation(){//megerositeshez a dolgok megjelenitese | (string message)
|
||||||
|
/*messageBox.ResetMessageBox();
|
||||||
|
messageBox.SendMessageToBox(message); //uzenet ami a boxba jelenjek meg a usernek*/
|
||||||
|
|
||||||
|
//confirmDoubleClick.onClick.AddListener(StartEvent); //a confirm gomb indidtsa el az eventet
|
||||||
|
confirmDoubleClick.onClick.AddListener(ConfirmOnClicks);
|
||||||
|
|
||||||
|
ShowButtons(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ConfirmOnClicks(){
|
||||||
|
StartEvent();
|
||||||
|
AfterInvoke();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void StartEvent(){
|
||||||
|
toDoubleClick.Invoke();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void AfterInvoke(){
|
||||||
|
RemoveFunctions(); //event lista uritese miutan fel lett hasznalva
|
||||||
|
confirmDoubleClick.onClick.RemoveAllListeners(); //gomb onclick torlese
|
||||||
|
messageBox.ResetMessageBox(); //uzenet torlese
|
||||||
|
ShowButtons(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void TestFV(){
|
||||||
|
Debug.Log("Test fv");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void ShowButtons(bool show){
|
||||||
|
confirmDoubleClick.gameObject.SetActive(show);
|
||||||
|
cancelDoubleClick.gameObject.SetActive(show);
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/DoubleClick.cs.meta
Normal file
11
Assets/Scripts/DoubleClick.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3353fed86c7ecaa489764b0dca579cbb
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -7,19 +7,34 @@ public class Elet : MonoBehaviour
|
|||||||
{
|
{
|
||||||
public TMP_Text[] elet_text;
|
public TMP_Text[] elet_text;
|
||||||
public int elet = 2;
|
public int elet = 2;
|
||||||
private int elet_vesztve = 0;
|
[SerializeField] private int elet_vesztve = 0;
|
||||||
private int elet_megszerezve = 2;
|
private int elet_megszerezve = 2;
|
||||||
private jatekmanager jatekmanager;
|
private jatekmanager jatekmanager;
|
||||||
|
|
||||||
private void Start() {
|
|
||||||
|
[SerializeField] private bool orokelet;
|
||||||
|
|
||||||
|
private void Awake() {
|
||||||
jatekmanager = FindObjectOfType<jatekmanager>();
|
jatekmanager = FindObjectOfType<jatekmanager>();
|
||||||
|
|
||||||
|
#if !UNITY_EDITOR //buildelve mindig false legyen az orokelet
|
||||||
|
orokelet = false;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Start() {
|
||||||
for (int i = 0; i < elet_megszerezve; i++) {
|
for (int i = 0; i < elet_megszerezve; i++) {
|
||||||
elet_text[i].text = "O";
|
elet_text[i].text = "O";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Update() {
|
||||||
|
if(elet+1 == 0 && !orokelet){
|
||||||
|
jatekmanager.Instance.jatekosvesztett = true;
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Vesztette);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void Eletplusz() {
|
public void Eletplusz() {
|
||||||
if (elet > 4) return;
|
if (elet > 4) return;
|
||||||
if (elet_megszerezve > 4) return;
|
if (elet_megszerezve > 4) return;
|
||||||
@@ -36,12 +51,13 @@ public class Elet : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void Eletvesztes() {
|
public void Eletvesztes() {
|
||||||
if (elet_vesztve > 4)
|
if(orokelet) return;
|
||||||
|
if (elet_vesztve > 5)
|
||||||
{
|
{
|
||||||
jatekmanager.jatekosvesztett = true;
|
//jatekmanager.jatekosvesztett = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (elet_megszerezve > elet +1) return;
|
//if (elet_megszerezve > elet +1) return;
|
||||||
//if(elet < 0) return;
|
//if(elet < 0) return;
|
||||||
|
|
||||||
elet_vesztve++;
|
elet_vesztve++;
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ public class Energia : MonoBehaviour
|
|||||||
private int energiasav_index = 0;
|
private int energiasav_index = 0;
|
||||||
public bool granatAktivalva = false;
|
public bool granatAktivalva = false;
|
||||||
|
|
||||||
|
private jatekmanager jatekmanager;
|
||||||
|
|
||||||
public int getEnergiasavIndex() { return energiasav_index; }
|
public int getEnergiasavIndex() { return energiasav_index; }
|
||||||
public void setEnegiasavIndex(int ertek) { energiasav_index = ertek; }
|
public void setEnegiasavIndex(int ertek) { energiasav_index = ertek; }
|
||||||
|
|
||||||
@@ -18,12 +20,16 @@ public class Energia : MonoBehaviour
|
|||||||
return; //targy cucc aktivalva egesz korbe nem csokken az energia
|
return; //targy cucc aktivalva egesz korbe nem csokken az energia
|
||||||
}
|
}
|
||||||
|
|
||||||
if (energiasav_index > 30) return;
|
if (getEnergiasavIndex() > 29) {
|
||||||
|
jatekmanager.Instance.jatekosvesztett = true;
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Vesztette);
|
||||||
|
//ha nincs tobb energia vesztes
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 0; i < number; i++) {
|
for (int i = 0; i < number; i++) {
|
||||||
//if (number + enegiasav_index > energiasav_text.Length) break;
|
//if (number + enegiasav_index > energiasav_text.Length) break;
|
||||||
if (energiasav_index >= 30) {
|
if (getEnergiasavIndex() >= 30) {
|
||||||
energiasav_index = 29;
|
setEnegiasavIndex(29);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
38
Assets/Scripts/Helyszin.cs
Normal file
38
Assets/Scripts/Helyszin.cs
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using TMPro;
|
||||||
|
|
||||||
|
[System.Serializable]
|
||||||
|
public class Helyszin
|
||||||
|
{
|
||||||
|
[SerializeField] private string helyszinNev;
|
||||||
|
[Range(1,2)] [SerializeField] private int helyszinAktivalasDb;
|
||||||
|
[SerializeField] private TMP_Text[] lepesSzamlalo;
|
||||||
|
[SerializeField] private TMP_Text[] nyomozasJelolo;
|
||||||
|
[SerializeField] private TMP_Text[] ugynokCsapatSzamlalo;
|
||||||
|
[Range(0,2)] [SerializeField] private int energiaKoltseg;
|
||||||
|
[Range(0,2)] [SerializeField] private int akciopontKoltseg;
|
||||||
|
[SerializeField] private string szektor; //alpha | omega
|
||||||
|
[SerializeField] private string alszektor; //nap vagy hold
|
||||||
|
[Range(0,2)][SerializeField] private int x;
|
||||||
|
[Range(0,3)] [SerializeField] private int y;
|
||||||
|
|
||||||
|
public int X { get{ return x;}}
|
||||||
|
public int Y { get{ return y; }}
|
||||||
|
public int EnergiaKoltseg { get{ return energiaKoltseg; }}
|
||||||
|
public int AkciopontKoltseg{ get{ return akciopontKoltseg; }}
|
||||||
|
public TMP_Text[] LepesSzamlalo { get{ return lepesSzamlalo; } set { lepesSzamlalo = value;}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public virtual void Move(){
|
||||||
|
int x = 0;
|
||||||
|
int y = 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual void Aktivalas(){
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/Helyszin.cs.meta
Normal file
11
Assets/Scripts/Helyszin.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 07569cc61945f524b93b6ba5de48127b
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
37
Assets/Scripts/Helyszinaktivalas1.cs
Normal file
37
Assets/Scripts/Helyszinaktivalas1.cs
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using TMPro;
|
||||||
|
using System;
|
||||||
|
|
||||||
|
public class Helyszinaktivalas1 : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Helyszin[] helyszinek;
|
||||||
|
|
||||||
|
private movement movement;
|
||||||
|
|
||||||
|
public void SetLepesSzamlalo(int x, int y, string lepesSzam){
|
||||||
|
foreach(var item in helyszinek){
|
||||||
|
if(item.X == x && item.Y == y){
|
||||||
|
if(item.LepesSzamlalo[0].Equals("")){ //ha nincs meg az elsobe beirva
|
||||||
|
item.LepesSzamlalo[0].text = lepesSzam;
|
||||||
|
}else{
|
||||||
|
item.LepesSzamlalo[1].text = lepesSzam;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void HelyszinAktivalas() {
|
||||||
|
int x = movement.jelenlegi_x - 1;
|
||||||
|
int y = movement.jelenlegi_y - 1;
|
||||||
|
|
||||||
|
foreach (var item in helyszinek){
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Start() {
|
||||||
|
movement = FindObjectOfType<movement>();
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/Helyszinaktivalas1.cs.meta
Normal file
11
Assets/Scripts/Helyszinaktivalas1.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cdcf96e9dc11d9945900f6668df2aa49
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
40
Assets/Scripts/Kezdohelyszin.cs
Normal file
40
Assets/Scripts/Kezdohelyszin.cs
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using TMPro;
|
||||||
|
|
||||||
|
public class Kezdohelyszin : MonoBehaviour
|
||||||
|
{
|
||||||
|
public SpriteRenderer dice1;
|
||||||
|
public SpriteRenderer dice2;
|
||||||
|
public TMP_Text eredmenyText;
|
||||||
|
public Button nextButton;
|
||||||
|
|
||||||
|
private int random;
|
||||||
|
public static bool kesz = false;
|
||||||
|
|
||||||
|
private Dice dice;
|
||||||
|
|
||||||
|
private void Awake() {
|
||||||
|
dice = FindObjectOfType<Dice>();
|
||||||
|
nextButton.interactable = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void KezdoHelyszinSorsolas(int x, int y, string helynev){
|
||||||
|
eredmenyText.text = "";
|
||||||
|
nextButton.interactable = false;
|
||||||
|
|
||||||
|
StartCoroutine(waitForDiceAnimation(helynev));
|
||||||
|
|
||||||
|
dice.callAnimateDice(dice1, x);
|
||||||
|
dice.callAnimateDice(dice2, y);
|
||||||
|
}
|
||||||
|
|
||||||
|
private IEnumerator waitForDiceAnimation(string helynev){
|
||||||
|
yield return new WaitUntil(() => kesz);
|
||||||
|
|
||||||
|
eredmenyText.text = "A kezdőhelyszíned: " + helynev;
|
||||||
|
nextButton.interactable = true;
|
||||||
|
kesz = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/Kezdohelyszin.cs.meta
Normal file
11
Assets/Scripts/Kezdohelyszin.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2a9617c93d2bf0a4dbfd8f3c5c2aadda
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
17
Assets/Scripts/MessageBox.cs
Normal file
17
Assets/Scripts/MessageBox.cs
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using TMPro;
|
||||||
|
|
||||||
|
public class MessageBox : MonoBehaviour
|
||||||
|
{
|
||||||
|
[SerializeField] private TMP_Text messageBox;
|
||||||
|
|
||||||
|
public void SendMessageToBox(string message){
|
||||||
|
messageBox.text = message;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ResetMessageBox(){
|
||||||
|
messageBox.text = "";
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/MessageBox.cs.meta
Normal file
11
Assets/Scripts/MessageBox.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c6e47cdfb14d35a4e8ec96d480c37d5f
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
19
Assets/Scripts/Sound.cs
Normal file
19
Assets/Scripts/Sound.cs
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.Audio;
|
||||||
|
|
||||||
|
[System.Serializable]
|
||||||
|
public class Sound
|
||||||
|
{
|
||||||
|
public string name;
|
||||||
|
public AudioClip clip;
|
||||||
|
[Range(0f, 1f)]
|
||||||
|
public float volume;
|
||||||
|
[Range(0.1f, 3f)]
|
||||||
|
public float pitch;
|
||||||
|
public bool loop;
|
||||||
|
[HideInInspector]
|
||||||
|
public AudioSource source;
|
||||||
|
public AudioMixerGroup outputMixer;
|
||||||
|
}
|
||||||
11
Assets/Scripts/Sound.cs.meta
Normal file
11
Assets/Scripts/Sound.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2bad3c18e1bd9a55da1a52c7588f21fa
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -10,12 +10,19 @@ public class Source : MonoBehaviour
|
|||||||
|
|
||||||
private movement movement;
|
private movement movement;
|
||||||
public GameObject sourceSprite;
|
public GameObject sourceSprite;
|
||||||
|
private Ugynok ugynok;
|
||||||
|
private jatekmanager jatekmanager;
|
||||||
|
|
||||||
|
|
||||||
private bool oneTime = false;
|
private bool oneTime = false;
|
||||||
|
|
||||||
private void Start() {
|
private void Awake() {
|
||||||
movement = FindObjectOfType<movement>();
|
movement = FindObjectOfType<movement>();
|
||||||
|
ugynok = FindObjectOfType<Ugynok>();
|
||||||
|
jatekmanager = FindObjectOfType<jatekmanager>();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Start() {
|
||||||
sor = new List<int>();
|
sor = new List<int>();
|
||||||
for (int i = 1; i < 5; i++) {
|
for (int i = 1; i < 5; i++) {
|
||||||
sor.Add(i);
|
sor.Add(i);
|
||||||
@@ -25,9 +32,15 @@ public class Source : MonoBehaviour
|
|||||||
private void Update() {
|
private void Update() {
|
||||||
if(isNyitva && oszlop != -1 && sor.Count == 1) {
|
if(isNyitva && oszlop != -1 && sor.Count == 1) {
|
||||||
sourceRender(oszlop, sor[0]);
|
sourceRender(oszlop, sor[0]);
|
||||||
|
|
||||||
if (!oneTime) {
|
if (!oneTime) {
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
ugynok.UgynokSorsolas(oszlop, sor[0]);
|
||||||
|
}
|
||||||
printSourceLocation();
|
printSourceLocation();
|
||||||
oneTime = true;
|
oneTime = true;
|
||||||
|
jatekmanager.JatekosVesztett();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
@@ -13,14 +14,14 @@ public class Targyak : MonoBehaviour
|
|||||||
private Energia energia;
|
private Energia energia;
|
||||||
private Ugynok ugynok;
|
private Ugynok ugynok;
|
||||||
private Dice dice;
|
private Dice dice;
|
||||||
|
private jatekmanager jatekmanager;
|
||||||
|
private MessageBox messageBox;
|
||||||
|
|
||||||
public TMP_InputField kocka1ertek;
|
public TMP_InputField kocka1ertek;
|
||||||
public TMP_InputField kocka2ertek;
|
public TMP_InputField kocka2ertek;
|
||||||
|
|
||||||
public int ujertek1;
|
public int ujertek1;
|
||||||
public int ujertek2;
|
public int ujertek2;
|
||||||
public Button confirmNewValue;
|
|
||||||
public Button cancelNewValue;
|
|
||||||
|
|
||||||
public int targy_szamlalo = 0;
|
public int targy_szamlalo = 0;
|
||||||
public int adrenalinloket = 0;
|
public int adrenalinloket = 0;
|
||||||
public int hackercsatlakozo = 0;
|
public int hackercsatlakozo = 0;
|
||||||
@@ -28,11 +29,36 @@ public class Targyak : MonoBehaviour
|
|||||||
public int droidgepagyu = 0;
|
public int droidgepagyu = 0;
|
||||||
public int matavtaviranyito = 0;
|
public int matavtaviranyito = 0;
|
||||||
public int fustgranat = 0;
|
public int fustgranat = 0;
|
||||||
|
|
||||||
|
[SerializeField] private bool vanUgynok = false;
|
||||||
|
|
||||||
public bool lathatatlanOltozetAktivalva = false;
|
public bool lathatatlanOltozetAktivalva = false;
|
||||||
public bool matavtaviranyitoAktivalva = false;
|
public bool matavtaviranyitoAktivalva = false;
|
||||||
private int randomszam;
|
private int randomszam;
|
||||||
|
public Button confirmNewValue;
|
||||||
|
public Button cancelNewValue;
|
||||||
|
|
||||||
private void Start() {
|
//targy megszerezve ui
|
||||||
|
//TODO: change to searialize field
|
||||||
|
[SerializeField] private TMP_Text adrenalinMegszerezve;
|
||||||
|
[SerializeField] private TMP_Text hackerMegszerezve;
|
||||||
|
[SerializeField] private TMP_Text lathatatlanMegszerezve;
|
||||||
|
[SerializeField] private TMP_Text droidMegszerezve;
|
||||||
|
[SerializeField] private TMP_Text matavMegszerezve;
|
||||||
|
[SerializeField] private TMP_Text alomhozoMegszerezve;
|
||||||
|
|
||||||
|
//targy felhasznalva ui
|
||||||
|
//TODO: change to searialize field
|
||||||
|
public TMP_Text adrenalinFelhasznalva;
|
||||||
|
public TMP_Text hackerFelhasznalva;
|
||||||
|
public TMP_Text lathatatlanFelhasznalva;
|
||||||
|
public TMP_Text droidFelhasznalva;
|
||||||
|
public TMP_Text matavFelhasznalva;
|
||||||
|
public TMP_Text alomhozoFelhasznalva;
|
||||||
|
|
||||||
|
[SerializeField] private List<string> elerheto_targyak = new List<string>{"Adrenalinloket", "Hacker csatlakozo", "Lathatatlan oltozet", "Droid agyu", "Matav taviranyito", "Alomhozo fustgranat"};
|
||||||
|
|
||||||
|
private void Awake() {
|
||||||
akciok = FindObjectOfType<Akciok>();
|
akciok = FindObjectOfType<Akciok>();
|
||||||
elet = FindObjectOfType<Elet>();
|
elet = FindObjectOfType<Elet>();
|
||||||
akciopont = FindObjectOfType<Akciopont>();
|
akciopont = FindObjectOfType<Akciopont>();
|
||||||
@@ -40,59 +66,98 @@ public class Targyak : MonoBehaviour
|
|||||||
energia = FindObjectOfType<Energia>();
|
energia = FindObjectOfType<Energia>();
|
||||||
ugynok = FindObjectOfType<Ugynok>();
|
ugynok = FindObjectOfType<Ugynok>();
|
||||||
dice = FindObjectOfType<Dice>();
|
dice = FindObjectOfType<Dice>();
|
||||||
|
jatekmanager = FindObjectOfType<jatekmanager>();
|
||||||
|
messageBox = FindObjectOfType<MessageBox>();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Start() {
|
||||||
|
adrenalinFelhasznalva.gameObject.SetActive(false);
|
||||||
|
hackerFelhasznalva.gameObject.SetActive(false);
|
||||||
|
lathatatlanFelhasznalva.gameObject.SetActive(false);
|
||||||
|
droidFelhasznalva.gameObject.SetActive(false);
|
||||||
|
matavFelhasznalva.gameObject.SetActive(false);
|
||||||
|
alomhozoFelhasznalva.gameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RandomTargy()
|
public void RandomTargy()
|
||||||
{
|
{
|
||||||
string[] elerheto_targyak = {"Adrenalinloket", "Hacker csatlakozo", "Lathatatlan oltozet", "Droid agyu", "Matav taviranyito", "Alomhozo fustgranat"} ;
|
if(elerheto_targyak.Count == 0) return;
|
||||||
|
|
||||||
do{
|
|
||||||
randomszam = UnityEngine.Random.Range(0, elerheto_targyak.Length);
|
|
||||||
}while(!elerheto_targyak[randomszam].Equals(""));
|
|
||||||
|
|
||||||
|
randomszam = UnityEngine.Random.Range(0, elerheto_targyak.Count);
|
||||||
|
|
||||||
elerheto_targyak[randomszam] = "";
|
//megszerezve ui es beaddolas
|
||||||
|
if(elerheto_targyak[randomszam].Equals("Adrenalinloket")){
|
||||||
if (randomszam == 0)
|
adrenalinMegszerezve.text = "X";
|
||||||
{
|
|
||||||
adrenalinloket++;
|
adrenalinloket++;
|
||||||
|
adrenalinFelhasznalva.gameObject.SetActive(true);
|
||||||
Debug.Log("Kaptal egy AdrenalinLoketet!");
|
Debug.Log("Kaptal egy AdrenalinLoketet!");
|
||||||
}
|
messageBox.SendMessageToBox("Kaptal egy AdrenalinLoketet!");
|
||||||
else if (randomszam == 1)
|
}else if(elerheto_targyak[randomszam].Equals("Hacker csatlakozo")){
|
||||||
{
|
hackerMegszerezve.text = "X";
|
||||||
hackercsatlakozo++;
|
hackercsatlakozo++;
|
||||||
|
hackerFelhasznalva.gameObject.SetActive(true);
|
||||||
Debug.Log("Kaptal egy Hacker Csatlakozot!");
|
Debug.Log("Kaptal egy Hacker Csatlakozot!");
|
||||||
}
|
messageBox.SendMessageToBox("Kaptal egy Hacker Csatlakozot!");
|
||||||
else if (randomszam == 2)
|
}else if(elerheto_targyak[randomszam].Equals("Lathatatlan oltozet")){
|
||||||
{
|
lathatatlanMegszerezve.text = "X";
|
||||||
lathatatlanoltozet++;
|
lathatatlanoltozet++;
|
||||||
|
lathatatlanFelhasznalva.gameObject.SetActive(true);
|
||||||
Debug.Log("Kaptal egy Lathatatlan oltozetet!");
|
Debug.Log("Kaptal egy Lathatatlan oltozetet!");
|
||||||
}
|
messageBox.SendMessageToBox("Kaptal egy Lathatatlan oltozetet!");
|
||||||
else if (randomszam == 3)
|
}else if(elerheto_targyak[randomszam].Equals("Droid agyu")){
|
||||||
{
|
droidMegszerezve.text = "X";
|
||||||
droidgepagyu++;
|
droidgepagyu++;
|
||||||
|
droidFelhasznalva.gameObject.SetActive(true);
|
||||||
Debug.Log("Kaptal egy Droid-X2 Gepagyut!");
|
Debug.Log("Kaptal egy Droid-X2 Gepagyut!");
|
||||||
}
|
messageBox.SendMessageToBox("Kaptal egy Droid-X2 Gepagyut!");
|
||||||
else if (randomszam == 4)
|
}else if(elerheto_targyak[randomszam].Equals("Matav taviranyito")){
|
||||||
{
|
matavMegszerezve.text = "X";
|
||||||
matavtaviranyito++;
|
matavtaviranyito++;
|
||||||
|
matavFelhasznalva.gameObject.SetActive(true);
|
||||||
Debug.Log("Kaptal egy Matav Taviranyitot!");
|
Debug.Log("Kaptal egy Matav Taviranyitot!");
|
||||||
}
|
messageBox.SendMessageToBox("Kaptal egy Matav Taviranyitot!");
|
||||||
else if (randomszam == 5)
|
}else if(elerheto_targyak[randomszam].Equals("Alomhozo fustgranat")){
|
||||||
{
|
alomhozoMegszerezve.text = "X";
|
||||||
fustgranat++;
|
fustgranat++;
|
||||||
|
alomhozoFelhasznalva.gameObject.SetActive(true);
|
||||||
Debug.Log("Kaptal egy Alomhozo Fustgranatot!");
|
Debug.Log("Kaptal egy Alomhozo Fustgranatot!");
|
||||||
|
messageBox.SendMessageToBox("Kaptal egy Alomhozo Fustgranatot!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
elerheto_targyak.RemoveAt(randomszam); //szedje ki a listabol
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addAdrenalin() {
|
public void addAdrenalin() {
|
||||||
adrenalinloket = 1;
|
adrenalinloket = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Update() {
|
||||||
|
//betu kitorlese
|
||||||
|
if(!kocka1ertek.text.Equals("")){ //megnezzuk hogy van e mar valami a szovegben
|
||||||
|
for(int i = 0; i < kocka1ertek.text.Length; i++) //vegig megyunk a szovegen
|
||||||
|
{
|
||||||
|
if(!Char.IsDigit(kocka1ertek.text[i])){ //ha a betu nem szam torolje
|
||||||
|
Debug.Log("updaate");
|
||||||
|
kocka1ertek.text = kocka1ertek.text.Remove(i);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!kocka2ertek.text.Equals("")){ //megnezzuk hogy van e mar valami a szovegben
|
||||||
|
for(int i = 0; i < kocka2ertek.text.Length; i++) //vegig megyunk a szovegen
|
||||||
|
{
|
||||||
|
if(!Char.IsDigit(kocka2ertek.text[i])){ //ha a betu nem szam torolje
|
||||||
|
kocka2ertek.text = kocka2ertek.text.Remove(i);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void CallAdrenalinLoket() => StartCoroutine(AdrenalinLoket());
|
public void CallAdrenalinLoket() => StartCoroutine(AdrenalinLoket());
|
||||||
|
|
||||||
public IEnumerator AdrenalinLoket() {
|
public IEnumerator AdrenalinLoket() {
|
||||||
Debug.Log("nefefs");
|
Debug.Log("adrenalin ienumerator");
|
||||||
|
|
||||||
kocka1ertek.text = dice.getDices()[0].ToString(); //maradjon uresen es jelenjen meg kepen a kocka ertekek, hogy while-al varakoztatni lehessen?
|
kocka1ertek.text = dice.getDices()[0].ToString(); //maradjon uresen es jelenjen meg kepen a kocka ertekek, hogy while-al varakoztatni lehessen?
|
||||||
kocka2ertek.text = dice.getDices()[1].ToString();
|
kocka2ertek.text = dice.getDices()[1].ToString();
|
||||||
|
|
||||||
@@ -102,20 +167,32 @@ public class Targyak : MonoBehaviour
|
|||||||
confirmNewValue.gameObject.SetActive(true);//aktivalja a gombot hozza
|
confirmNewValue.gameObject.SetActive(true);//aktivalja a gombot hozza
|
||||||
cancelNewValue.gameObject.SetActive(true);
|
cancelNewValue.gameObject.SetActive(true);
|
||||||
|
|
||||||
|
//VARNIA KELL A GOMBRA || itt folytatja
|
||||||
|
var waitForButton = new WaitForUIButtons(confirmNewValue, cancelNewValue);
|
||||||
|
yield return waitForButton.Reset();
|
||||||
|
|
||||||
|
//nem szam karakter levedes?
|
||||||
ujertek1 = int.Parse(kocka1ertek.text);
|
ujertek1 = int.Parse(kocka1ertek.text);
|
||||||
ujertek2 = int.Parse(kocka2ertek.text); //hogy tunik el az elozo? || egymas melle kerul a ket input vagy gomb ami deaktivalja a inputot
|
ujertek2 = int.Parse(kocka2ertek.text); //hogy tunik el az elozo? || egymas melle kerul a ket input vagy gomb ami deaktivalja a inputot
|
||||||
|
|
||||||
//VARNIA KELL A GOMBRA
|
Debug.Log("ujertek1: " + ujertek1 + " ujertek2: " + ujertek2);
|
||||||
var waitForButton = new WaitForUIButtons(confirmNewValue, cancelNewValue);
|
|
||||||
yield return waitForButton.Reset();
|
|
||||||
|
|
||||||
if(waitForButton.PressedButton == confirmNewValue){
|
if(waitForButton.PressedButton == confirmNewValue){
|
||||||
deactivateInputOk(true);
|
deactivateInputOk(true);
|
||||||
dice.ujertek[0] = ujertek1; //csak akkor adja at ha leokezta
|
dice.ujertek.Add(ujertek1); //csak akkor adja at ha leokezta
|
||||||
dice.ujertek[1] = ujertek2;
|
dice.ujertek.Add(ujertek2); //uj adat amit a user adott meg
|
||||||
|
dice.mehet = true;
|
||||||
|
dice.HelyszinKiBekapcs(false);
|
||||||
|
adrenalinFelhasznalva.text = "X";
|
||||||
|
yield break; //kilepeshez
|
||||||
}else{
|
}else{
|
||||||
deactivateInputOk(false);
|
deactivateInputOk(false);
|
||||||
}
|
dice.HelyszinKiBekapcs(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
//ha nem lepett ki eddig
|
||||||
|
//dice.ujertek[0] = dice.getDices()[0];
|
||||||
|
//dice.ujertek[1] = dice.getDices()[1]; //regi adat, hogy ne legyen hibas
|
||||||
}
|
}
|
||||||
|
|
||||||
public void deactivateInputOk(bool targyelvesztes) {
|
public void deactivateInputOk(bool targyelvesztes) {
|
||||||
@@ -127,37 +204,140 @@ public class Targyak : MonoBehaviour
|
|||||||
adrenalinloket = 0; //targy elvesztese
|
adrenalinloket = 0; //targy elvesztese
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void HackerCsatlakozo() { //kesz
|
public void HackerCsatlakozo() { //kesz
|
||||||
|
if(hackercsatlakozo <= 0){
|
||||||
|
Debug.Log("Nincs ilyen targyad!!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
//+2 tolteny
|
//+2 tolteny
|
||||||
akciok.Betarazas(2);
|
akciok.betarazasDb = 2;
|
||||||
|
akciok.Betarazas();
|
||||||
|
akciopont.UpdateAkciopont(1); //betarazas miatt egy pont visszaadasa
|
||||||
//+1 elet
|
//+1 elet
|
||||||
elet.Eletplusz();
|
elet.Eletplusz();
|
||||||
//+1 akcio
|
//+1 akcio
|
||||||
akciopont.akciopont++;
|
akciopont.UpdateAkciopont(1);
|
||||||
|
|
||||||
|
hackercsatlakozo = 0; //targy elvesztese
|
||||||
|
|
||||||
|
Debug.Log("hacker felhasznalva");
|
||||||
|
|
||||||
|
//felhasznalva ui
|
||||||
|
hackerFelhasznalva.text = "X";
|
||||||
}
|
}
|
||||||
|
|
||||||
public void LathatatlanOltozek() { //kesz
|
public void LathatatlanOltozek() { //kesz
|
||||||
//movement.mozgasHelyre(2, 2); //megadni inkabb a hely nevet ahova menni akar? | input field es nev megadas
|
if(lathatatlanoltozet <= 0){
|
||||||
|
Debug.Log("Nincs ilyen targyad!!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
lathatatlanOltozetAktivalva = true;
|
lathatatlanOltozetAktivalva = true;
|
||||||
|
lathatatlanoltozet = 0; //targy elvesztese
|
||||||
|
|
||||||
|
Debug.Log("lathatatlan felhasznalva");
|
||||||
|
|
||||||
|
//felhasznalva ui
|
||||||
|
lathatatlanFelhasznalva.text = "X";
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DroidGepagyu() { //kesz
|
public void DroidGepagyu() {
|
||||||
|
if(droidgepagyu <= 0){
|
||||||
|
Debug.Log("Nincs ilyen targyad!!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
//deaktivalni minden objectet kiveve a ugynok text boxokat es addig nem vissza aktivalni amig nem kattintott ra valamelyikre
|
||||||
|
|
||||||
//ugynok cucc
|
//deaktivalas
|
||||||
ugynok.canKill = true; //barhol meg tud olni ha kattint
|
//jatekmanager.ugynokDeaktivalas(false);
|
||||||
|
|
||||||
|
vanUgynok = false;
|
||||||
|
|
||||||
|
//nezze meg hogy van ugynokcsapat valahol kulonben ne aktivalja
|
||||||
|
foreach(var item in ugynok.oneone){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
foreach(var item in ugynok.onetwo){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
foreach(var item in ugynok.onethree){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
foreach(var item in ugynok.onefour){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
foreach(var item in ugynok.twoone){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
foreach(var item in ugynok.twotwo){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
foreach(var item in ugynok.twothree){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
foreach(var item in ugynok.twofour){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
foreach(var item in ugynok.threeone){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
foreach(var item in ugynok.threetwo){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
foreach(var item in ugynok.threethree){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
foreach(var item in ugynok.threefour){
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6")) vanUgynok = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!vanUgynok){
|
||||||
|
Debug.Log("nincs sehol ugynok csapat");
|
||||||
|
return; //ha nincs sehol ugynok ne fussok le
|
||||||
|
}
|
||||||
|
|
||||||
|
jatekmanager.UpdateGameState(jatekmanager.GameState.Ugynok); //ugynok state (minden kikapcsolva);
|
||||||
|
|
||||||
|
ugynok.droidagyuAktivalva = true;
|
||||||
|
|
||||||
|
Debug.Log("kattints egy ugynok csapatra!");
|
||||||
|
|
||||||
|
droidgepagyu = 0; //targy elvesztese
|
||||||
|
|
||||||
|
Debug.Log("droid felhasznalva");
|
||||||
|
|
||||||
|
//felhasznalva ui
|
||||||
|
droidFelhasznalva.text = "X";
|
||||||
}
|
}
|
||||||
|
|
||||||
public void MatavTaviranyito() {
|
public void MatavTaviranyito() {
|
||||||
|
if(matavtaviranyito <= 0){
|
||||||
|
Debug.Log("Nincs ilyen targyad!!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
matavtaviranyitoAktivalva = true;
|
matavtaviranyitoAktivalva = true;
|
||||||
|
matavtaviranyito = 0; //targy elvesztese
|
||||||
|
|
||||||
|
Debug.Log("matav felhasznalva");
|
||||||
|
|
||||||
|
//felhasznalva ui
|
||||||
|
matavFelhasznalva.text = "X";
|
||||||
}
|
}
|
||||||
|
|
||||||
public void FustGranat() {
|
public void FustGranat() {
|
||||||
energia.granatAktivalva = true;
|
if(fustgranat <= 0){
|
||||||
|
Debug.Log("Nincs ilyen targyad!!");
|
||||||
}
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
energia.granatAktivalva = true;
|
||||||
|
fustgranat = 0; //targy elvesztese
|
||||||
|
|
||||||
|
Debug.Log("granat felhasznalva");
|
||||||
|
|
||||||
|
//felhasznalva ui
|
||||||
|
alomhozoFelhasznalva.text = "X";
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using static jatekmanager;
|
|
||||||
|
|
||||||
public class TurnManager : MonoBehaviour
|
public class TurnManager : MonoBehaviour
|
||||||
{
|
{
|
||||||
@@ -13,34 +12,43 @@ public class TurnManager : MonoBehaviour
|
|||||||
|
|
||||||
public int turnCounter = 1;
|
public int turnCounter = 1;
|
||||||
|
|
||||||
void Start()
|
private void Awake()
|
||||||
{
|
{
|
||||||
dice = FindObjectOfType<Dice>();
|
dice = FindObjectOfType<Dice>();
|
||||||
akciopont = FindObjectOfType<Akciopont>();
|
akciopont = FindObjectOfType<Akciopont>();
|
||||||
energia = FindObjectOfType<Energia>();
|
energia = FindObjectOfType<Energia>();
|
||||||
upgrade = FindObjectOfType<Upgrade>();
|
upgrade = FindObjectOfType<Upgrade>();
|
||||||
jatekmanager = FindObjectOfType<jatekmanager>();
|
jatekmanager = FindObjectOfType<jatekmanager>();
|
||||||
|
|
||||||
|
dice.ujradobasszamlalo = upgrade.ujradobas[upgrade.getUjradobasIndex()] + 1;
|
||||||
|
Debug.Log("ujradobasszamlalo: " + dice.ujradobasszamlalo);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void nextTurn() {
|
public void nextTurn() {
|
||||||
dice.setLocked(false);
|
dice.setLocked(false);
|
||||||
akciopont.resetAkciopont();
|
dice.dobottEgyszer = false;
|
||||||
energia.csokkenEnergia(upgrade.energia[upgrade.getEnergiaIndex()]);
|
|
||||||
energia.granatAktivalva = false; //ha aktivalva lett a granat a korben deaktivalja
|
|
||||||
turnCounter++;
|
|
||||||
dice.hely1.sprite = null;
|
dice.hely1.sprite = null;
|
||||||
dice.hely2.sprite = null;
|
dice.hely2.sprite = null;
|
||||||
jatekmanager.vanertelme = true;
|
dice.ujradobasszamlalo = upgrade.ujradobas[upgrade.getUjradobasIndex()] + 1;
|
||||||
Debug.Log("kovetkezo kor " + turnCounter);
|
dice.diceResult = new int[2];
|
||||||
jatekmanager.Instance.UpdateGameState(GameState.KorKezdet); //a jatekmanager atvalt a korkezdet eventre
|
Debug.Log("ujradobasszamlalo: " + dice.ujradobasszamlalo);
|
||||||
|
|
||||||
/*
|
akciopont.resetAkciopont();
|
||||||
if (energiavesztese > 29)
|
|
||||||
{
|
|
||||||
jatekmanager.Instance.UpdateGameState(GameState.Vesztett); //a jatekmanager atvalt a vesztett eventre
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
energia.csokkenEnergia(upgrade.energia[upgrade.getEnergiaIndex()]);
|
||||||
|
energia.granatAktivalva = false; //ha aktivalva lett a granat a korben deaktivalja
|
||||||
|
|
||||||
|
turnCounter++;
|
||||||
|
|
||||||
|
jatekmanager.vanertelme = true;
|
||||||
|
jatekmanager.JatekosVesztett();
|
||||||
|
jatekmanager.JatekosNyert();
|
||||||
|
|
||||||
|
if (jatekmanager.jatekosnyert == false && jatekmanager.jatekosvesztett == false)
|
||||||
|
{
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.KorKezdet); //a jatekmanager atvalt a korkezdet eventre
|
||||||
|
|
||||||
|
Debug.Log("kovetkezo kor " + turnCounter);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,45 +1,50 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
|
|
||||||
public class Ugynok : MonoBehaviour
|
public class Ugynok : MonoBehaviour
|
||||||
{
|
{
|
||||||
public TMP_Text[] oneone;
|
private Akciok akciok;
|
||||||
public BoxCollider2D[] oneoneCollider;
|
private Akciopont ap;
|
||||||
public TMP_Text[] twoone;
|
private Upgrade upgrade;
|
||||||
public BoxCollider2D[] twooneCollider;
|
private jatekmanager jatekmanager;
|
||||||
public TMP_Text[] threeone;
|
private Elet elet;
|
||||||
public BoxCollider2D[] threeoneCollider;
|
private movement movement;
|
||||||
public TMP_Text[] onetwo;
|
|
||||||
public BoxCollider2D[] onetwoCollider;
|
|
||||||
public TMP_Text[] twotwo;
|
|
||||||
public BoxCollider2D[] twotwoCollider;
|
|
||||||
public TMP_Text[] threetwo;
|
|
||||||
public BoxCollider2D[] threetwoCollider;
|
|
||||||
public TMP_Text[] onethree;
|
|
||||||
public BoxCollider2D[] onethreeCollider;
|
|
||||||
public TMP_Text[] twothree;
|
|
||||||
public BoxCollider2D[] twothreeCollider;
|
|
||||||
public TMP_Text[] threethree;
|
|
||||||
public BoxCollider2D[] threethreeCollider;
|
|
||||||
public TMP_Text[] onefour;
|
|
||||||
public BoxCollider2D[] onefourCollider;
|
|
||||||
public TMP_Text[] twofour;
|
|
||||||
public BoxCollider2D[] twofourCollider;
|
|
||||||
public TMP_Text[] threefour;
|
|
||||||
public BoxCollider2D[] threefourCollider;
|
|
||||||
|
|
||||||
|
public TMP_Text[] oneone;
|
||||||
|
public TMP_Text[] twoone;
|
||||||
|
public TMP_Text[] threeone;
|
||||||
|
public TMP_Text[] onetwo;
|
||||||
|
public TMP_Text[] twotwo;
|
||||||
|
public TMP_Text[] threetwo;
|
||||||
|
public TMP_Text[] onethree;
|
||||||
|
public TMP_Text[] twothree;
|
||||||
|
public TMP_Text[] threethree;
|
||||||
|
public TMP_Text[] onefour;
|
||||||
|
public TMP_Text[] twofour;
|
||||||
|
public TMP_Text[] threefour;
|
||||||
|
|
||||||
|
public bool droidagyuAktivalva = false;
|
||||||
public bool canKill = false;
|
public bool canKill = false;
|
||||||
public bool canShoot = false; //harchoz bool
|
public bool canShoot = false; //harchoz bool
|
||||||
public void setCanKillTrue()
|
[SerializeField] private string[] previus_ugynok_csapatok;
|
||||||
{
|
private int elozo_x;
|
||||||
canKill = true;
|
private int elozo_y ;
|
||||||
}
|
public void setCanKillTrue(){ canKill = true; }
|
||||||
public Camera maincamera;
|
|
||||||
|
|
||||||
private void Start()
|
private void Awake() {
|
||||||
{
|
akciok = FindObjectOfType<Akciok>();
|
||||||
|
upgrade = FindObjectOfType<Upgrade>();
|
||||||
|
jatekmanager = FindObjectOfType<jatekmanager>();
|
||||||
|
movement = FindObjectOfType<movement>();
|
||||||
|
elet = FindObjectOfType<Elet>();
|
||||||
|
ap = FindObjectOfType<Akciopont>();
|
||||||
|
|
||||||
|
previus_ugynok_csapatok = new string[3];
|
||||||
|
|
||||||
|
//ugynok csapat mezo szoveg kiurites
|
||||||
for (int i = 0; i < oneone.Length; i++)
|
for (int i = 0; i < oneone.Length; i++)
|
||||||
{
|
{
|
||||||
oneone[i].text = "";
|
oneone[i].text = "";
|
||||||
@@ -90,649 +95,413 @@ public class Ugynok : MonoBehaviour
|
|||||||
{
|
{
|
||||||
threefour[i].text = "";
|
threefour[i].text = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Update()
|
public void UgynokSorsolas(int x, int y, int ugynokSzam = 0){
|
||||||
{
|
int random;
|
||||||
if(canShoot){
|
if(ugynokSzam == 0){
|
||||||
if(oneone[0].text.Equals("")){
|
random = UnityEngine.Random.Range(1,7);
|
||||||
|
}else{
|
||||||
}
|
random = ugynokSzam;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (canKill)
|
|
||||||
{
|
|
||||||
//check for collider onclick then x out tmp text then set canKill false
|
|
||||||
//check if text field is empty
|
|
||||||
//oneone
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && oneoneCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!oneone[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
oneone[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && oneoneCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!oneone[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
oneone[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && oneoneCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!oneone[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
oneone[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//onetwo
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && onetwoCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!onetwo[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
onetwo[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && onetwoCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!onetwo[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
onetwo[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && onetwoCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!onetwo[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
onetwo[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//onethree
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && onethreeCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!onethree[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
onethree[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && onethreeCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!onethree[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
onethree[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && onethreeCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!onethree[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
onethree[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//onefour
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && onefourCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!onefour[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
onefour[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && onefourCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!onefour[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
onefour[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && onefourCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!onefour[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
onefour[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//twoone
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && twooneCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twoone[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
twoone[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && twooneCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twoone[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
twoone[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && twooneCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twoone[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
twoone[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//twotwo
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && twotwoCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twotwo[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
twotwo[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && twotwoCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twotwo[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
twotwo[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && twotwoCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twotwo[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
twotwo[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//twothree
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && twothreeCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twothree[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
twothree[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && twothreeCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twothree[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
twothree[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && twothreeCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twothree[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
twothree[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//twofour
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && twofourCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twofour[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
twofour[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && twofourCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twofour[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
twofour[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && twofourCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!twofour[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
twofour[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//threeone
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && threeoneCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threeone[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
threeone[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && threeoneCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threeone[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
threeone[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && threeoneCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threeone[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
threeone[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//threetwo
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && threetwoCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threetwo[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
threetwo[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && threetwoCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threetwo[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
threetwo[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && threetwoCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threetwo[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
threetwo[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//threethree
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && threethreeCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threethree[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
threethree[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && threethreeCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threethree[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
threethree[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && threethreeCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threethree[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
threethree[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//threefour
|
|
||||||
if (Input.GetKeyDown(KeyCode.Mouse0) && threefourCollider[0].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threefour[0].text.Equals(""))
|
|
||||||
{
|
|
||||||
threefour[0].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && threefourCollider[1].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threefour[1].text.Equals(""))
|
|
||||||
{
|
|
||||||
threefour[1].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (Input.GetKeyDown(KeyCode.Mouse0) && threefourCollider[2].OverlapPoint(maincamera.ScreenToWorldPoint(Input.mousePosition)))
|
|
||||||
{
|
|
||||||
if (!threefour[2].text.Equals(""))
|
|
||||||
{
|
|
||||||
threefour[2].text = "X";
|
|
||||||
canKill = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("itt nincs ugynok csapat!!!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void UgynokSorsolas(int x, int y)
|
|
||||||
{
|
|
||||||
if (x == 1 && y == 1)
|
if (x == 1 && y == 1)
|
||||||
{
|
{
|
||||||
if (oneone[0].text.Equals(""))
|
if (oneone[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
oneone[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
oneone[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (oneone[1].text.Equals(""))
|
else if (oneone[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
oneone[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
oneone[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (oneone[2].text.Equals(""))
|
else if (oneone[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
oneone[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
oneone[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (x == 1 && y == 2)
|
else if (x == 1 && y == 2)
|
||||||
{
|
{
|
||||||
if (onetwo[0].text.Equals(""))
|
if (onetwo[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
onetwo[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
onetwo[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (onetwo[1].text.Equals(""))
|
else if (onetwo[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
onetwo[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
onetwo[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (onetwo[2].text.Equals(""))
|
else if (onetwo[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
onetwo[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
onetwo[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (x == 1 && y == 3)
|
else if (x == 1 && y == 3)
|
||||||
{
|
{
|
||||||
if (onethree[0].text.Equals(""))
|
if (onethree[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
onethree[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
onethree[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (onethree[1].text.Equals(""))
|
else if (onethree[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
onethree[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
onethree[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (onethree[2].text.Equals(""))
|
else if (onethree[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
onethree[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
onethree[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (x == 1 && y == 4)
|
else if (x == 1 && y == 4)
|
||||||
{
|
{
|
||||||
if (onefour[0].text.Equals(""))
|
if (onefour[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
onefour[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
onefour[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (onefour[1].text.Equals(""))
|
else if (onefour[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
onefour[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
onefour[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (onefour[2].text.Equals(""))
|
else if (onefour[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
onefour[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
onefour[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (x == 2 && y == 1)
|
else if (x == 2 && y == 1)
|
||||||
{
|
{
|
||||||
if (twoone[0].text.Equals(""))
|
if (twoone[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
twoone[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
twoone[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (twoone[1].text.Equals(""))
|
else if (twoone[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
twoone[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
twoone[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (twoone[2].text.Equals(""))
|
else if (twoone[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
twoone[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
twoone[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (x == 2 && y == 2)
|
else if (x == 2 && y == 2)
|
||||||
{
|
{
|
||||||
if (twotwo[0].text.Equals(""))
|
if (twotwo[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
twotwo[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
twotwo[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (twotwo[1].text.Equals(""))
|
else if (twotwo[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
twotwo[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
twotwo[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (twotwo[2].text.Equals(""))
|
else if (twotwo[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
twotwo[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
twotwo[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (x == 2 && y == 3)
|
else if (x == 2 && y == 3)
|
||||||
{
|
{
|
||||||
if (twothree[0].text.Equals(""))
|
if (twothree[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
twothree[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
twothree[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (twothree[1].text.Equals(""))
|
else if (twothree[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
twothree[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
twothree[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (twothree[2].text.Equals(""))
|
else if (twothree[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
twothree[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
twothree[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (x == 2 && y == 4)
|
else if (x == 2 && y == 4)
|
||||||
{
|
{
|
||||||
if (twofour[0].text.Equals(""))
|
if (twofour[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
twofour[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
twofour[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (twofour[1].text.Equals(""))
|
else if (twofour[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
twofour[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
twofour[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (twofour[2].text.Equals(""))
|
else if (twofour[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
twofour[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
twofour[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (x == 3 && y == 1)
|
else if (x == 3 && y == 1)
|
||||||
{
|
{
|
||||||
if (threeone[0].text.Equals(""))
|
if (threeone[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
threeone[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
threeone[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (threeone[1].text.Equals(""))
|
else if (threeone[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
threeone[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
threeone[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (threeone[2].text.Equals(""))
|
else if (threeone[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
threeone[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
threeone[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (x == 3 && y == 2)
|
else if (x == 3 && y == 2)
|
||||||
{
|
{
|
||||||
if (threetwo[0].text.Equals(""))
|
if (threetwo[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
threetwo[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
threetwo[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (threetwo[1].text.Equals(""))
|
else if (threetwo[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
threetwo[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
threetwo[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (threetwo[2].text.Equals(""))
|
else if (threetwo[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
threetwo[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
threetwo[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (x == 3 && y == 3)
|
else if (x == 3 && y == 3)
|
||||||
{
|
{
|
||||||
if (threethree[0].text.Equals(""))
|
if (threethree[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
threethree[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
threethree[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (threethree[1].text.Equals(""))
|
else if (threethree[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
threethree[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
threethree[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (threethree[2].text.Equals(""))
|
else if (threethree[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
threethree[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
threethree[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (x == 3 && y == 4)
|
else if (x == 3 && y == 4)
|
||||||
{
|
{
|
||||||
if (threefour[0].text.Equals(""))
|
if (threefour[0].text.Equals(""))
|
||||||
{
|
{
|
||||||
threefour[0].text = UnityEngine.Random.Range(1, 7).ToString();
|
threefour[0].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (threefour[1].text.Equals(""))
|
else if (threefour[1].text.Equals(""))
|
||||||
{
|
{
|
||||||
threefour[1].text = UnityEngine.Random.Range(1, 7).ToString();
|
threefour[1].text = random.ToString();
|
||||||
}
|
}
|
||||||
else if (threefour[2].text.Equals(""))
|
else if (threefour[2].text.Equals(""))
|
||||||
{
|
{
|
||||||
threefour[2].text = UnityEngine.Random.Range(1, 7).ToString();
|
threefour[2].text = random.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
public void ugynokOles(TMP_Text ugynokText){
|
||||||
|
if(!canKill){
|
||||||
|
Debug.Log("Nem nyomtal a harc gombra!!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
//string tmp = ugynokText.gameObject.name;
|
||||||
|
string s = ugynokText.gameObject.name;
|
||||||
|
//Debug.Log("gomb name: " + s);
|
||||||
|
string sx = Char.ToString(s[7]);
|
||||||
|
string sy = Char.ToString(s[8]);
|
||||||
|
//char cx = sx[7];
|
||||||
|
//char cy = sx[8];
|
||||||
|
int x = int.Parse(sx);
|
||||||
|
int y = int.Parse(sy);
|
||||||
|
Debug.Log("ugynok x: " + x + " y: "+y);
|
||||||
|
Debug.Log("movement x: " + movement.jelenlegi_x + " y: " + movement.jelenlegi_y);
|
||||||
|
|
||||||
|
if(x != movement.jelenlegi_x || y != movement.jelenlegi_y){
|
||||||
|
Debug.Log("nem egyenlo a ketto");
|
||||||
|
}else{
|
||||||
|
Debug.Log("egyenlo");
|
||||||
|
}
|
||||||
|
|
||||||
|
if(ugynokText.text.Equals("")){ //ha nincs ott ugynok csapat ne csinaljon semmit
|
||||||
|
Debug.Log("itt nincs ugynok csapat!!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!droidagyuAktivalva){ //toltenyek levonasa
|
||||||
|
//nincs aktivalva a targy csak azon a helyen olhet ahol van (x, y)
|
||||||
|
if(x != movement.jelenlegi_x || y != movement.jelenlegi_y){
|
||||||
|
Debug.Log("nem vagy azon a helyen es nincs aktivalva a targy!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
int ugynokcsapatletszama = int.Parse(ugynokText.text);
|
||||||
|
if(ugynokcsapatletszama > akciok.getBetarazottTolteny() / upgrade.harc[upgrade.getHarcIndex()]){ //ha nincs eleg tolteny
|
||||||
|
Debug.Log("nincs eleg tolteny");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(ap.getAkciopont() < 2){
|
||||||
|
Debug.Log("nincs eleg ap az oleshez");
|
||||||
|
return;
|
||||||
|
}else{
|
||||||
|
ap.UpdateAkciopont(-2); //harc koltseg
|
||||||
|
}
|
||||||
|
|
||||||
|
akciok.Loves(ugynokcsapatletszama / upgrade.harc[upgrade.getHarcIndex()]);
|
||||||
|
canKill = false;
|
||||||
|
Debug.Log("tolteny szama:" + ugynokcsapatletszama / upgrade.harc[upgrade.getHarcIndex()]);
|
||||||
|
}
|
||||||
|
|
||||||
|
ugynokText.text = "X"; //ugynok csapat megolve
|
||||||
|
|
||||||
|
jatekmanager.JatekosNyert();
|
||||||
|
|
||||||
|
//minden vissza kapcsolasa
|
||||||
|
//jatekmanager.ugynokDeaktivalas(true);
|
||||||
|
|
||||||
|
jatekmanager.UpdateGameState(jatekmanager.GameState.Akcio); //miutan vegzett menjen az akcio state-re
|
||||||
|
droidagyuAktivalva = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void ugynokMegolveElozoHelyen(){
|
||||||
|
if(elozo_x != movement.jelenlegi_x || elozo_y != movement.jelenlegi_y){
|
||||||
|
foreach(var item in previus_ugynok_csapatok){
|
||||||
|
if(!item.Equals("")){
|
||||||
|
Debug.Log("|"+item+"|");
|
||||||
|
//ha nem ures a text vagyis volt atirva szamra nezze meg hogy X-e
|
||||||
|
//if(!item.Equals("x") || !item.Equals("X"))
|
||||||
|
if(item.Equals("1") || item.Equals("2") || item.Equals("3") || item.Equals("4") || item.Equals("5") || item.Equals("6"))
|
||||||
|
{
|
||||||
|
Debug.Log("belep ugynok item: |"+item+"|");
|
||||||
|
//vonjon le egy eletet
|
||||||
|
elet.Eletvesztes();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(elozo_x == 1 && elozo_y == 1){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = oneone[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 1 && elozo_y == 2){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = onetwo[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 1 && elozo_y == 3){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = onethree[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 1 && elozo_y == 4){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = onefour[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 2 && elozo_y == 1){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = twoone[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 2 && elozo_y == 2){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = twotwo[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 2 && elozo_y == 3){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = twothree[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 2 && elozo_y == 4){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = twofour[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 3 && elozo_y == 1){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = threeone[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 3 && elozo_y == 2){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = threetwo[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 3 && elozo_y == 3){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = threethree[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 3 && elozo_y == 4){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = threefour[i].text;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
elozo_x = movement.jelenlegi_x;
|
||||||
|
elozo_y = movement.jelenlegi_y;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setElozoHelyszin(int x, int y){
|
||||||
|
elozo_x = x;
|
||||||
|
elozo_y = y;
|
||||||
|
|
||||||
|
if(elozo_x == 1 && elozo_y == 1){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = oneone[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 1 && elozo_y == 2){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = onetwo[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 1 && elozo_y == 3){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = onethree[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 1 && elozo_y == 4){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = onefour[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 2 && elozo_y == 1){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = twoone[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 2 && elozo_y == 2){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = twotwo[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 2 && elozo_y == 3){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = twothree[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 2 && elozo_y == 4){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = twofour[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 3 && elozo_y == 1){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = threeone[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 3 && elozo_y == 2){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = threetwo[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 3 && elozo_y == 3){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = threethree[i].text;
|
||||||
|
}
|
||||||
|
}else if(elozo_x == 3 && elozo_y == 4){
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
previus_ugynok_csapatok[i] = threefour[i].text;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -3,7 +3,6 @@ using UnityEngine;
|
|||||||
|
|
||||||
public class Upgrade : MonoBehaviour
|
public class Upgrade : MonoBehaviour
|
||||||
{
|
{
|
||||||
private Akciopont akciopont;
|
|
||||||
public readonly int[] energia = { 3, 3, 2, 2, 1 };
|
public readonly int[] energia = { 3, 3, 2, 2, 1 };
|
||||||
public readonly int[] akcio = { 0, 0, 1, 1, 2 };
|
public readonly int[] akcio = { 0, 0, 1, 1, 2 };
|
||||||
public readonly int[] harc = { 1, 1, 2, 2, 3 };
|
public readonly int[] harc = { 1, 1, 2, 2, 3 };
|
||||||
@@ -27,18 +26,15 @@ public class Upgrade : MonoBehaviour
|
|||||||
public int getUjradobasIndex() { return ujradobas_index; }
|
public int getUjradobasIndex() { return ujradobas_index; }
|
||||||
public int getHackIndex() { return hack_index; }
|
public int getHackIndex() { return hack_index; }
|
||||||
|
|
||||||
private void Start()
|
|
||||||
{
|
|
||||||
akciopont = FindObjectOfType<Akciopont>();
|
|
||||||
}
|
|
||||||
public void upgradeEnergia() {
|
public void upgradeEnergia() {
|
||||||
if (canUpgrade) {
|
if (canUpgrade) {
|
||||||
if (energia_index < 4) {
|
if (energia_index < 4) {
|
||||||
energiatext[energia_index].text = "X";
|
energiatext[energia_index].text = "X";
|
||||||
energia_index++;
|
energia_index++;
|
||||||
|
canUpgrade = false;
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Akcio); //a jatekmanager atvalt a korkezdet eventre
|
||||||
}
|
}
|
||||||
Debug.Log("energia_i: " + energia_index);
|
Debug.Log("energia_i: " + energia_index);
|
||||||
canUpgrade = false;
|
|
||||||
fejlesztes_szamlalo++;
|
fejlesztes_szamlalo++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -48,9 +44,10 @@ public class Upgrade : MonoBehaviour
|
|||||||
if (akcio_index < 4) {
|
if (akcio_index < 4) {
|
||||||
akciotext[akcio_index].text = "X";
|
akciotext[akcio_index].text = "X";
|
||||||
akcio_index++;
|
akcio_index++;
|
||||||
|
canUpgrade = false;
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Akcio); //a jatekmanager atvalt a korkezdet eventre
|
||||||
}
|
}
|
||||||
Debug.Log("akcio_i: " + akcio_index);
|
Debug.Log("akcio_i: " + akcio_index);
|
||||||
canUpgrade = false;
|
|
||||||
fejlesztes_szamlalo++;
|
fejlesztes_szamlalo++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -60,9 +57,10 @@ public class Upgrade : MonoBehaviour
|
|||||||
if (harc_index < 4) {
|
if (harc_index < 4) {
|
||||||
harctext[harc_index].text = "X";
|
harctext[harc_index].text = "X";
|
||||||
harc_index++;
|
harc_index++;
|
||||||
|
canUpgrade = false;
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Akcio); //a jatekmanager atvalt a korkezdet eventre
|
||||||
}
|
}
|
||||||
Debug.Log("harc_i: " + harc_index);
|
Debug.Log("harc_i: " + harc_index);
|
||||||
canUpgrade = false;
|
|
||||||
fejlesztes_szamlalo++;
|
fejlesztes_szamlalo++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -72,9 +70,10 @@ public class Upgrade : MonoBehaviour
|
|||||||
if (ujradobas_index < 4) {
|
if (ujradobas_index < 4) {
|
||||||
ujradobastext[ujradobas_index].text = "X";
|
ujradobastext[ujradobas_index].text = "X";
|
||||||
ujradobas_index++;
|
ujradobas_index++;
|
||||||
|
canUpgrade = false;
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Akcio); //a jatekmanager atvalt a korkezdet eventre
|
||||||
}
|
}
|
||||||
Debug.Log("ujradobas_i: " + ujradobas_index);
|
Debug.Log("ujradobas_i: " + ujradobas_index);
|
||||||
canUpgrade = false;
|
|
||||||
fejlesztes_szamlalo++;
|
fejlesztes_szamlalo++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -84,9 +83,10 @@ public class Upgrade : MonoBehaviour
|
|||||||
if (hack_index < 3) {
|
if (hack_index < 3) {
|
||||||
hacktext[hack_index].text = "X";
|
hacktext[hack_index].text = "X";
|
||||||
hack_index++;
|
hack_index++;
|
||||||
|
canUpgrade = false;
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Akcio); //a jatekmanager atvalt a korkezdet eventre
|
||||||
}
|
}
|
||||||
Debug.Log("hack_i: " + hack_index);
|
Debug.Log("hack_i: " + hack_index);
|
||||||
canUpgrade = false;
|
|
||||||
fejlesztes_szamlalo++;
|
fejlesztes_szamlalo++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using System.Threading;
|
|||||||
|
|
||||||
public class fps : MonoBehaviour
|
public class fps : MonoBehaviour
|
||||||
{
|
{
|
||||||
public TMP_Text fpsText;
|
public TMP_Text fpsText; //ideiglenesen megvaltoztatva az uzenet boxra!!
|
||||||
[SerializeField] private float _hudRefreshRate = 1f;
|
[SerializeField] private float _hudRefreshRate = 1f;
|
||||||
private float _timer;
|
private float _timer;
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|||||||
using Unity.Mathematics;
|
using Unity.Mathematics;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using TMPro;
|
||||||
|
|
||||||
public class helyszinaktivalas : MonoBehaviour
|
public class helyszinaktivalas : MonoBehaviour
|
||||||
{
|
{
|
||||||
@@ -14,8 +15,26 @@ public class helyszinaktivalas : MonoBehaviour
|
|||||||
private movement movement;
|
private movement movement;
|
||||||
private Ugynok ugynok;
|
private Ugynok ugynok;
|
||||||
private Energia energia;
|
private Energia energia;
|
||||||
|
private jatekmanager jatekmanager;
|
||||||
|
|
||||||
void Start()
|
private int[] helyszinAktivalasSzamlalo;
|
||||||
|
|
||||||
|
//textboxos az aktivalas szamlalohoz
|
||||||
|
public List<TMP_Text> oneoneText; //2
|
||||||
|
public TMP_Text onetwoText; //1
|
||||||
|
public List<TMP_Text> onethreeText; //2
|
||||||
|
public List<TMP_Text> onefourText; //2
|
||||||
|
public TMP_Text twooneText;
|
||||||
|
public List<TMP_Text> twotwoText;
|
||||||
|
public TMP_Text twothreeText;
|
||||||
|
public TMP_Text twofourText;
|
||||||
|
public TMP_Text threeoneText;
|
||||||
|
public List<TMP_Text> threetwoText;
|
||||||
|
public TMP_Text threethreeText;
|
||||||
|
public List<TMP_Text> threefourText;
|
||||||
|
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
{
|
{
|
||||||
akciopont = FindObjectOfType<Akciopont>();
|
akciopont = FindObjectOfType<Akciopont>();
|
||||||
movement = FindObjectOfType<movement>();
|
movement = FindObjectOfType<movement>();
|
||||||
@@ -25,52 +44,90 @@ public class helyszinaktivalas : MonoBehaviour
|
|||||||
elet = FindObjectOfType<Elet>();
|
elet = FindObjectOfType<Elet>();
|
||||||
ugynok = FindObjectOfType<Ugynok>();
|
ugynok = FindObjectOfType<Ugynok>();
|
||||||
energia = FindObjectOfType<Energia>();
|
energia = FindObjectOfType<Energia>();
|
||||||
|
|
||||||
|
helyszinAktivalasSzamlalo = new int[12];
|
||||||
}
|
}
|
||||||
|
|
||||||
public void HelyszinAktivalas()
|
public void HelyszinAktivalas()
|
||||||
{
|
{
|
||||||
//1-es mez<EFBFBD> kesz
|
//1-es mezo
|
||||||
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 1)
|
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 1)
|
||||||
{
|
{
|
||||||
|
if(helyszinAktivalasSzamlalo[0] == 2) return; //ketszer lehet aktivalni
|
||||||
|
|
||||||
|
if((akciopont.getAkciopont() < 1 || energia.getEnergiasavIndex() > 28) && !targyak.matavtaviranyitoAktivalva) return;
|
||||||
|
|
||||||
//ugynokcsapat oles barhol tolteny nelkul
|
//ugynokcsapat oles barhol tolteny nelkul
|
||||||
ugynok.canKill = true; //megolhetunk egy csapatot
|
targyak.DroidGepagyu();
|
||||||
|
|
||||||
|
if(!targyak.matavtaviranyitoAktivalva){
|
||||||
|
akciopont.UpdateAkciopont(-1);
|
||||||
|
energia.csokkenEnergia(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
oneoneText[helyszinAktivalasSzamlalo[0]].text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[0]++;
|
||||||
|
}
|
||||||
|
//2-es mezo
|
||||||
|
if (movement.jelenlegi_x == 2 && movement.jelenlegi_y == 1)
|
||||||
|
{
|
||||||
|
if(helyszinAktivalasSzamlalo[1] == 1) return; //egyszer lehet aktivalni
|
||||||
|
|
||||||
|
if((energia.getEnergiasavIndex() > 27) && !targyak.matavtaviranyitoAktivalva) return;
|
||||||
|
|
||||||
|
upgrade.canUpgrade = true;
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Fejlesztes);
|
||||||
|
|
||||||
|
if(!targyak.matavtaviranyitoAktivalva){
|
||||||
|
//akciopont.akciopont++;
|
||||||
|
//akciopont.UpdateAkciopont(1);
|
||||||
|
energia.csokkenEnergia(2);
|
||||||
|
}
|
||||||
|
|
||||||
|
twooneText.text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[1]++;
|
||||||
|
}
|
||||||
|
//3-es mezo
|
||||||
|
if (movement.jelenlegi_x == 3 && movement.jelenlegi_y == 1)
|
||||||
|
{
|
||||||
|
if(helyszinAktivalasSzamlalo[2] == 1) return; //egyszer lehet aktivalni
|
||||||
|
|
||||||
|
if((energia.getEnergiasavIndex() > 28) && !targyak.matavtaviranyitoAktivalva) return;
|
||||||
|
|
||||||
|
targyak.lathatatlanOltozetAktivalva = true; //mint a targy
|
||||||
|
if(!targyak.matavtaviranyitoAktivalva){
|
||||||
|
energia.csokkenEnergia(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
threeoneText.text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[2]++;
|
||||||
|
}
|
||||||
|
//4-es mezo
|
||||||
|
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 2)
|
||||||
|
{
|
||||||
|
if(helyszinAktivalasSzamlalo[3] == 1) return; //egyszer lehet aktivalni
|
||||||
|
|
||||||
|
if((akciopont.getAkciopont() < 1 || energia.getEnergiasavIndex() > 28) && !targyak.matavtaviranyitoAktivalva) return;
|
||||||
|
|
||||||
|
//kapsz egy targyat
|
||||||
|
targyak.RandomTargy();
|
||||||
|
targyak.targy_szamlalo++;
|
||||||
|
|
||||||
if(!targyak.matavtaviranyitoAktivalva){
|
if(!targyak.matavtaviranyitoAktivalva){
|
||||||
akciopont.UpdateAkciopont(-1);
|
akciopont.UpdateAkciopont(-1);
|
||||||
energia.csokkenEnergia(1);
|
energia.csokkenEnergia(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onetwoText.text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[3]++;
|
||||||
}
|
}
|
||||||
//2-es mez<EFBFBD> -- K<>SZ
|
//5-es mezo
|
||||||
if (movement.jelenlegi_x == 2 && movement.jelenlegi_y == 1)
|
|
||||||
{
|
|
||||||
upgrade.canUpgrade = true;
|
|
||||||
if(!targyak.matavtaviranyitoAktivalva){
|
|
||||||
akciopont.akciopont++;
|
|
||||||
energia.csokkenEnergia(2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//3-es mez<65>
|
|
||||||
if (movement.jelenlegi_x == 3 && movement.jelenlegi_y == 1)
|
|
||||||
{
|
|
||||||
movement.helyreTeleport(); //hogy teleportal
|
|
||||||
if(!targyak.matavtaviranyitoAktivalva){
|
|
||||||
energia.csokkenEnergia(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//4-es mez<65> kesz
|
|
||||||
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 2)
|
|
||||||
{
|
|
||||||
//kapsz egy t<>rgyat
|
|
||||||
targyak.RandomTargy();
|
|
||||||
targyak.targy_szamlalo++;
|
|
||||||
if(!targyak.matavtaviranyitoAktivalva){
|
|
||||||
akciopont.UpdateAkciopont(-1);
|
|
||||||
energia.csokkenEnergia(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//5-es mez<65> kesz
|
|
||||||
if (movement.jelenlegi_x == 2 && movement.jelenlegi_y == 2)
|
if (movement.jelenlegi_x == 2 && movement.jelenlegi_y == 2)
|
||||||
{
|
{
|
||||||
|
if(helyszinAktivalasSzamlalo[4] == 2) return; //ketszer lehet aktivalni
|
||||||
|
|
||||||
|
if((akciopont.getAkciopont() < 1) && !targyak.matavtaviranyitoAktivalva) return;
|
||||||
|
|
||||||
///dobj paros +3 ap paratlan -1 energia
|
///dobj paros +3 ap paratlan -1 energia
|
||||||
int eredmeny = UnityEngine.Random.Range(1,7);
|
int eredmeny = UnityEngine.Random.Range(1,7);
|
||||||
Debug.Log("Dobas eredmeny: " + eredmeny);
|
Debug.Log("Dobas eredmeny: " + eredmeny);
|
||||||
@@ -82,69 +139,119 @@ public class helyszinaktivalas : MonoBehaviour
|
|||||||
if(!targyak.matavtaviranyitoAktivalva){
|
if(!targyak.matavtaviranyitoAktivalva){
|
||||||
akciopont.UpdateAkciopont(-1);
|
akciopont.UpdateAkciopont(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
twotwoText[helyszinAktivalasSzamlalo[4]].text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[4]++;
|
||||||
}
|
}
|
||||||
//6-es mez<EFBFBD> kesz
|
//6-es mezo
|
||||||
if (movement.jelenlegi_x == 3 && movement.jelenlegi_y == 2)
|
if (movement.jelenlegi_x == 3 && movement.jelenlegi_y == 2)
|
||||||
{
|
{
|
||||||
|
if(helyszinAktivalasSzamlalo[5] == 2) return; //ketszer lehet aktivalni
|
||||||
|
|
||||||
//+1 akcio
|
//+1 akcio
|
||||||
akciopont.UpdateAkciopont(1);
|
akciopont.UpdateAkciopont(1);
|
||||||
|
|
||||||
|
threetwoText[helyszinAktivalasSzamlalo[5]].text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[5]++;
|
||||||
}
|
}
|
||||||
//7-es mez<EFBFBD> -- K<>SZ
|
//7-es mezo
|
||||||
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 3)
|
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 3)
|
||||||
{
|
{
|
||||||
//1 fejleszt<7A>s ingyen
|
if(helyszinAktivalasSzamlalo[6] == 2) return; //ketszer lehet aktivalni
|
||||||
|
|
||||||
|
if((akciopont.getAkciopont() < 2) && !targyak.matavtaviranyitoAktivalva) return;
|
||||||
|
|
||||||
|
//1 fejlesztes ingyen
|
||||||
upgrade.canUpgrade = true;
|
upgrade.canUpgrade = true;
|
||||||
|
jatekmanager.Instance.UpdateGameState(jatekmanager.GameState.Fejlesztes);
|
||||||
if(!targyak.matavtaviranyitoAktivalva){
|
if(!targyak.matavtaviranyitoAktivalva){
|
||||||
akciopont.UpdateAkciopont(-2);
|
akciopont.UpdateAkciopont(-2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onethreeText[helyszinAktivalasSzamlalo[6]].text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[6]++;
|
||||||
}
|
}
|
||||||
//8-es mez<EFBFBD> kesz
|
//8-es mezo
|
||||||
if (movement.jelenlegi_x == 2 && movement.jelenlegi_y == 3)
|
if (movement.jelenlegi_x == 2 && movement.jelenlegi_y == 3)
|
||||||
{
|
{
|
||||||
|
if(helyszinAktivalasSzamlalo[7] == 1) return; //egyszer lehet aktivalni
|
||||||
|
|
||||||
//2 kocka dobas egyik +ap masik -energia
|
//2 kocka dobas egyik +ap masik -energia
|
||||||
int eredmeny1 = UnityEngine.Random.Range(1,7); //+ap
|
int eredmeny1 = UnityEngine.Random.Range(1,7); //+ap
|
||||||
int eredmeny2 = UnityEngine.Random.Range(1,7); //-energia
|
int eredmeny2 = UnityEngine.Random.Range(1,7); //-energia
|
||||||
Debug.Log("Dobas eredmeny elso: "+eredmeny1+ " masodik: " + eredmeny2);
|
Debug.Log("Dobas eredmeny elso: "+eredmeny1+ " masodik: " + eredmeny2);
|
||||||
akciopont.UpdateAkciopont(eredmeny1);
|
akciopont.UpdateAkciopont(eredmeny1);
|
||||||
energia.csokkenEnergia(eredmeny2);
|
energia.csokkenEnergia(eredmeny2);
|
||||||
|
|
||||||
|
twothreeText.text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[7]++;
|
||||||
}
|
}
|
||||||
//9-es mez<EFBFBD> -- K<>SZ
|
//9-es mezo
|
||||||
if (movement.jelenlegi_x == 3 && movement.jelenlegi_y == 3)
|
if (movement.jelenlegi_x == 3 && movement.jelenlegi_y == 3)
|
||||||
{
|
{
|
||||||
|
if(helyszinAktivalasSzamlalo[8] == 1) return; //egyszer lehet aktivalni
|
||||||
|
|
||||||
|
if((akciopont.getAkciopont() < 2) && !targyak.matavtaviranyitoAktivalva) return;
|
||||||
|
|
||||||
targyak.RandomTargy();
|
targyak.RandomTargy();
|
||||||
targyak.targy_szamlalo++;
|
targyak.targy_szamlalo++;
|
||||||
if(!targyak.matavtaviranyitoAktivalva){
|
if(!targyak.matavtaviranyitoAktivalva){
|
||||||
akciopont.UpdateAkciopont(-2);
|
akciopont.UpdateAkciopont(-2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
threethreeText.text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[8]++;
|
||||||
}
|
}
|
||||||
//10-es mez<EFBFBD> -- K<>SZ ?
|
//10-es mezo
|
||||||
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 4)
|
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 4)
|
||||||
{
|
{
|
||||||
//+4 t<>lt<6C>ny
|
if(helyszinAktivalasSzamlalo[9] == 2) return; //ketszer lehet aktivalni
|
||||||
akciok.Betarazas(4); //ha nincs negy darab tolteny toltse be a maradekot vagy ne lehessen aktivalni a helyszint?
|
|
||||||
|
if((akciopont.getAkciopont() < 1) && !targyak.matavtaviranyitoAktivalva) return;
|
||||||
|
|
||||||
|
//+4 tolteny
|
||||||
|
akciok.betarazasDb = 2;
|
||||||
|
akciok.Betarazas(); //ha nincs negy darab tolteny toltse be a maradekot vagy ne lehessen aktivalni a helyszint?
|
||||||
|
|
||||||
if(!targyak.matavtaviranyitoAktivalva){
|
if(!targyak.matavtaviranyitoAktivalva){
|
||||||
akciopont.UpdateAkciopont(-1);
|
akciopont.UpdateAkciopont(0); //betarazasba levon egyet (csak placeholder)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onefourText[helyszinAktivalasSzamlalo[9]].text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[9]++;
|
||||||
}
|
}
|
||||||
//11-es mez<EFBFBD> kesz
|
//11-es mezo
|
||||||
if (movement.jelenlegi_x == 2 && movement.jelenlegi_y == 4)
|
if (movement.jelenlegi_x == 2 && movement.jelenlegi_y == 4)
|
||||||
{
|
{
|
||||||
//Dobj! Megkapod a t<>rgyat.
|
if(helyszinAktivalasSzamlalo[10] == 1) return; //egyszer lehet aktivalni
|
||||||
|
|
||||||
|
if((energia.getEnergiasavIndex() > 28) && !targyak.matavtaviranyitoAktivalva) return;
|
||||||
|
|
||||||
|
//Dobj! Megkapod a targyat.
|
||||||
targyak.RandomTargy();
|
targyak.RandomTargy();
|
||||||
targyak.targy_szamlalo++;
|
targyak.targy_szamlalo++;
|
||||||
if(!targyak.matavtaviranyitoAktivalva){
|
if(!targyak.matavtaviranyitoAktivalva){
|
||||||
energia.csokkenEnergia(1);
|
energia.csokkenEnergia(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
twofourText.text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[10]++;
|
||||||
}
|
}
|
||||||
//12-es mez<EFBFBD> -- K<>SZ
|
//12-es mezo
|
||||||
if (movement.jelenlegi_x == 3 && movement.jelenlegi_y == 4)
|
if (movement.jelenlegi_x == 3 && movement.jelenlegi_y == 4)
|
||||||
{
|
{
|
||||||
|
if(helyszinAktivalasSzamlalo[11] == 2) return; //ketszer lehet aktivalni
|
||||||
|
|
||||||
|
if((akciopont.getAkciopont() < 1) && !targyak.matavtaviranyitoAktivalva) return;
|
||||||
|
|
||||||
//+1 elet
|
//+1 elet
|
||||||
elet.Eletplusz();
|
elet.Eletplusz();
|
||||||
if(!targyak.matavtaviranyitoAktivalva){
|
if(!targyak.matavtaviranyitoAktivalva){
|
||||||
akciopont.UpdateAkciopont(-1);
|
akciopont.UpdateAkciopont(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
threefourText[helyszinAktivalasSzamlalo[11]].text = "X";
|
||||||
|
helyszinAktivalasSzamlalo[11]++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Net.Sockets;
|
|
||||||
using TMPro;
|
using TMPro;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
|
||||||
public class jatekmanager : MonoBehaviour
|
public class jatekmanager : MonoBehaviour
|
||||||
{
|
{
|
||||||
@@ -23,7 +23,7 @@ public class jatekmanager : MonoBehaviour
|
|||||||
public GameObject hackeles;
|
public GameObject hackeles;
|
||||||
public GameObject rolldice;
|
public GameObject rolldice;
|
||||||
public GameObject test;
|
public GameObject test;
|
||||||
|
public GameObject harc;
|
||||||
|
|
||||||
//script-ek implementalasa
|
//script-ek implementalasa
|
||||||
private Elet elet;
|
private Elet elet;
|
||||||
@@ -35,6 +35,9 @@ public class jatekmanager : MonoBehaviour
|
|||||||
private movement movement;
|
private movement movement;
|
||||||
private TurnManager turnManager;
|
private TurnManager turnManager;
|
||||||
private Source source;
|
private Source source;
|
||||||
|
private vegpontozas vegpontozas;
|
||||||
|
private AudioManager audioManager;
|
||||||
|
private MessageBox messageBox;
|
||||||
|
|
||||||
//ügynökcsapatok implementálása
|
//ügynökcsapatok implementálása
|
||||||
public TMP_Text[] oneone;
|
public TMP_Text[] oneone;
|
||||||
@@ -54,19 +57,42 @@ public class jatekmanager : MonoBehaviour
|
|||||||
public bool jatekosnyert = false;
|
public bool jatekosnyert = false;
|
||||||
public bool jatekosvesztett = false;
|
public bool jatekosvesztett = false;
|
||||||
public bool vanertelme = true;
|
public bool vanertelme = true;
|
||||||
|
|
||||||
public GameState State;
|
public GameState State;
|
||||||
|
|
||||||
public static event Action<GameState> OnGameStateChanged;
|
public static event Action<GameState> OnGameStateChanged;
|
||||||
|
public Button helyszinaktivalasBtn;
|
||||||
|
|
||||||
[SerializeField] private Button RollDice;
|
public GameObject pauseMenuUI;
|
||||||
|
public static bool GameIsPlaying = true;
|
||||||
|
|
||||||
|
private GameState previousGameState;
|
||||||
|
|
||||||
void Awake()
|
public TMP_Text nev;
|
||||||
|
|
||||||
|
public GameObject mainCanvas;
|
||||||
|
public GameObject helyszinCanvas;
|
||||||
|
public GameObject helyszinSorsolasCanvas;
|
||||||
|
public TMP_Text helyszinEredmenyText;
|
||||||
|
public Button helyszinEredmenyBtn;
|
||||||
|
public GameObject palyaSprite;
|
||||||
|
public GameObject playerSprite;
|
||||||
|
|
||||||
|
public GameObject eredmenyPanel;
|
||||||
|
public TMP_Text eredmenyText;
|
||||||
|
public TMP_Text pontszam;
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
{
|
{
|
||||||
Instance = this;
|
//ideiglenes amig rajovok kell e az uj helyszinaktivalas
|
||||||
}
|
FindObjectOfType<Helyszinaktivalas1>().enabled = false;
|
||||||
|
|
||||||
|
Instance = this;
|
||||||
|
|
||||||
|
mainCanvas.SetActive(false); //helyszin sorsolas animacio miatt
|
||||||
|
helyszinCanvas.SetActive(false);
|
||||||
|
helyszinSorsolasCanvas.SetActive(true);
|
||||||
|
palyaSprite.SetActive(false);
|
||||||
|
playerSprite.SetActive(false);
|
||||||
|
}
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
@@ -79,14 +105,24 @@ public class jatekmanager : MonoBehaviour
|
|||||||
movement = FindObjectOfType<movement>();
|
movement = FindObjectOfType<movement>();
|
||||||
turnManager = FindObjectOfType<TurnManager>();
|
turnManager = FindObjectOfType<TurnManager>();
|
||||||
source = FindObjectOfType<Source>();
|
source = FindObjectOfType<Source>();
|
||||||
|
vegpontozas = FindObjectOfType<vegpontozas>();
|
||||||
|
messageBox = FindObjectOfType<MessageBox>();
|
||||||
|
|
||||||
UpdateGameState(GameState.KorKezdet);
|
//hatterzene lejatszas
|
||||||
|
audioManager = FindObjectOfType<AudioManager>();
|
||||||
|
audioManager.Play("BackgroundMusic");
|
||||||
|
|
||||||
|
UpdateGameState(GameState.Nev);
|
||||||
|
|
||||||
|
#if !UNITY_EDITOR
|
||||||
|
test.SetActive(false);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UpdateGameState(GameState newState)
|
public void UpdateGameState(GameState newState)
|
||||||
{
|
{
|
||||||
State = newState;
|
//State = newState;
|
||||||
|
Debug.Log("<color=orange>New state: " + newState + "</color>");
|
||||||
|
|
||||||
switch (newState)
|
switch (newState)
|
||||||
{
|
{
|
||||||
@@ -99,6 +135,20 @@ public class jatekmanager : MonoBehaviour
|
|||||||
case GameState.Fejlesztes:
|
case GameState.Fejlesztes:
|
||||||
HandleFejlesztes();
|
HandleFejlesztes();
|
||||||
break;
|
break;
|
||||||
|
case GameState.Ugynok:
|
||||||
|
ugynokDeaktivalas(false);
|
||||||
|
break;
|
||||||
|
case GameState.Vesztette:
|
||||||
|
HandleVesztette();
|
||||||
|
break;
|
||||||
|
case GameState.UgynokValasztas:
|
||||||
|
HandleUgynokValasztas();
|
||||||
|
break;
|
||||||
|
case GameState.Nev:
|
||||||
|
HandleNev();
|
||||||
|
break;
|
||||||
|
case GameState.Pause:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new ArgumentOutOfRangeException(nameof(newState), newState, null);
|
throw new ArgumentOutOfRangeException(nameof(newState), newState, null);
|
||||||
}
|
}
|
||||||
@@ -110,13 +160,70 @@ public class jatekmanager : MonoBehaviour
|
|||||||
{
|
{
|
||||||
KorKezdet,
|
KorKezdet,
|
||||||
Akcio,
|
Akcio,
|
||||||
Fejlesztes
|
Fejlesztes,
|
||||||
//Nyert
|
Ugynok,
|
||||||
//Vesztett
|
Vesztette,
|
||||||
|
UgynokValasztas,
|
||||||
|
Nev,
|
||||||
|
Pause
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Resume()
|
||||||
|
{
|
||||||
|
pauseMenuUI.SetActive(false);
|
||||||
|
SetTimeScale(1f); //normal ido visszainditasa
|
||||||
|
GameIsPlaying = true;
|
||||||
|
audioManager.SetMainVolume(0f);
|
||||||
|
Instance.UpdateGameState(previousGameState); //elozo statere menjen vissza
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Pause()
|
||||||
|
{
|
||||||
|
//uzenetBox.text = "A játék meg lett állítva";
|
||||||
|
messageBox.SendMessageToBox("A játék meg lett állítva");
|
||||||
|
pauseMenuUI.SetActive(true);
|
||||||
|
//ido megallitasa hogy megalljon a jatek
|
||||||
|
SetTimeScale(0f);
|
||||||
|
GameIsPlaying = false;
|
||||||
|
audioManager.SetMainVolume(-80f); //hangerot teljesen levenni a masteren
|
||||||
|
previousGameState = State;
|
||||||
|
Instance.UpdateGameState(jatekmanager.GameState.Pause);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Quit()
|
||||||
|
{
|
||||||
|
//helyszinEredmenyBtn.interactable = false;
|
||||||
|
//helyszinEredmenyText.gameObject.SetActive(false);
|
||||||
|
SetTimeScale(1f);
|
||||||
|
SceneManager.LoadScene("MainMenu");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetTimeScale(float time){
|
||||||
|
Time.timeScale = time;
|
||||||
|
}
|
||||||
|
|
||||||
|
public IEnumerator atlatszo(Button gomb)
|
||||||
|
{
|
||||||
|
while (gomb.GetComponent<CanvasGroup>().alpha > 0.25f)
|
||||||
|
{
|
||||||
|
gomb.GetComponent<CanvasGroup>().alpha -= 0.5f;
|
||||||
|
yield return new WaitForSecondsRealtime(0.01f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public IEnumerator megjelen(Button gomb)
|
||||||
|
{
|
||||||
|
while (gomb.GetComponent<CanvasGroup>().alpha < 1f)
|
||||||
|
{
|
||||||
|
gomb.GetComponent<CanvasGroup>().alpha += 0.5f;
|
||||||
|
yield return new WaitForSecondsRealtime(0.01f);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void HandleKorkezdet()
|
private async void HandleKorkezdet()
|
||||||
{
|
{
|
||||||
|
messageBox.SendMessageToBox("Dobj a kockával");
|
||||||
|
|
||||||
rolldice.SetActive(true);
|
rolldice.SetActive(true);
|
||||||
|
|
||||||
energiafejlesztés.SetActive(false);
|
energiafejlesztés.SetActive(false);
|
||||||
@@ -128,139 +235,259 @@ public class jatekmanager : MonoBehaviour
|
|||||||
betarazas.SetActive(false);
|
betarazas.SetActive(false);
|
||||||
nyomozas.SetActive(false);
|
nyomozas.SetActive(false);
|
||||||
hackeles.SetActive(false);
|
hackeles.SetActive(false);
|
||||||
test.SetActive(false);
|
helyszinaktivalasBtn.gameObject.SetActive(false);
|
||||||
|
harc.SetActive(false);
|
||||||
|
//test.SetActive(false);
|
||||||
|
|
||||||
|
//ha ugynok state-el vegezne kapcsoljon vissza mindent
|
||||||
|
movement.oneone_Collider.gameObject.SetActive(true);
|
||||||
|
movement.onetwo_Collider.gameObject.SetActive(true);
|
||||||
|
movement.onethree_Collider.gameObject.SetActive(true);
|
||||||
|
movement.onefour_Collider.gameObject.SetActive(true);
|
||||||
|
movement.twoone_Collider.gameObject.SetActive(true);
|
||||||
|
movement.twotwo_Collider.gameObject.SetActive(true);
|
||||||
|
movement.twothree_Collider.gameObject.SetActive(true);
|
||||||
|
movement.twofour_Collider.gameObject.SetActive(true);
|
||||||
|
movement.threeone_Collider.gameObject.SetActive(true);
|
||||||
|
movement.threetwo_Collider.gameObject.SetActive(true);
|
||||||
|
movement.threethree_Collider.gameObject.SetActive(true);
|
||||||
|
movement.threefour_Collider.gameObject.SetActive(true);
|
||||||
|
|
||||||
|
targyak.hackerFelhasznalva.GetComponent<Button>().gameObject.SetActive(true);
|
||||||
|
targyak.lathatatlanFelhasznalva.GetComponent<Button>().gameObject.SetActive(true);
|
||||||
|
targyak.droidFelhasznalva.GetComponent<Button>().gameObject.SetActive(true);
|
||||||
|
targyak.matavFelhasznalva.GetComponent<Button>().gameObject.SetActive(true);
|
||||||
|
targyak.alomhozoFelhasznalva.GetComponent<Button>().gameObject.SetActive(true);
|
||||||
|
|
||||||
|
dice.dice1btnBtn.gameObject.SetActive(true);
|
||||||
|
dice.dice2btnBtn.gameObject.SetActive(true);
|
||||||
|
|
||||||
|
|
||||||
Debug.Log(dice.dobott + " ; ennyiszer dobtál már a körben");
|
Debug.Log(dice.dobott + " ; ennyiszer dobtál már a körben");
|
||||||
Debug.Log((upgrade.getUjradobasIndex() + 1) + " ; ennyi dobásod van összesen");
|
Debug.Log((upgrade.getUjradobasIndex() + 1) + " ; ennyi dobásod van összesen");
|
||||||
|
}
|
||||||
|
|
||||||
|
private async void HandleUgynokValasztas()
|
||||||
|
{
|
||||||
|
//uzenetBox.text = "Válaszd ki az ügynökcsapat létszámát, az egyik kockára nyomva. (a kisebb választása 1 energia vesztésével jár)";
|
||||||
|
messageBox.SendMessageToBox("Válaszd ki az ügynökcsapat létszámát, az egyik kockára nyomva. (a kisebb választása 1 energia vesztésével jár)");
|
||||||
|
|
||||||
|
//kapcsolja ki addig a mezoket amig nem valasztott ugynokcsapat szamot
|
||||||
|
movement.oneone_Collider.gameObject.SetActive(false);
|
||||||
|
movement.onetwo_Collider.gameObject.SetActive(false);
|
||||||
|
movement.onethree_Collider.gameObject.SetActive(false);
|
||||||
|
movement.onefour_Collider.gameObject.SetActive(false);
|
||||||
|
movement.twoone_Collider.gameObject.SetActive(false);
|
||||||
|
movement.twotwo_Collider.gameObject.SetActive(false);
|
||||||
|
movement.twothree_Collider.gameObject.SetActive(false);
|
||||||
|
movement.twofour_Collider.gameObject.SetActive(false);
|
||||||
|
movement.threeone_Collider.gameObject.SetActive(false);
|
||||||
|
movement.threetwo_Collider.gameObject.SetActive(false);
|
||||||
|
movement.threethree_Collider.gameObject.SetActive(false);
|
||||||
|
movement.threefour_Collider.gameObject.SetActive(false);
|
||||||
|
|
||||||
|
kovetkezokor.SetActive(false);
|
||||||
|
betarazas.SetActive(false);
|
||||||
|
nyomozas.SetActive(false);
|
||||||
|
hackeles.SetActive(false);
|
||||||
|
helyszinaktivalasBtn.gameObject.SetActive(false);
|
||||||
|
harc.SetActive(false);
|
||||||
|
rolldice.SetActive(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void NevValasztasUtan()
|
||||||
|
{
|
||||||
|
if (!nev.text.Equals("") && dice.diceResult[0] == 0) //dice result == 0 ne tudjon tobbszori nev beiras utan ujradobni
|
||||||
|
{
|
||||||
|
UpdateGameState(GameState.KorKezdet);
|
||||||
|
dice.CallRenderDice(true);
|
||||||
|
messageBox.SendMessageToBox("Válaszd ki az ügynökcsapat létszámát");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private async void HandleNev()
|
||||||
|
{
|
||||||
|
//uzenetBox.text = "Írd be a neved a név mezőbe";
|
||||||
|
messageBox.SendMessageToBox("Írd be a neved a név mezőbe");
|
||||||
|
|
||||||
|
movement.oneone_Collider.gameObject.SetActive(false);
|
||||||
|
movement.onetwo_Collider.gameObject.SetActive(false);
|
||||||
|
movement.onethree_Collider.gameObject.SetActive(false);
|
||||||
|
movement.onefour_Collider.gameObject.SetActive(false);
|
||||||
|
movement.twoone_Collider.gameObject.SetActive(false);
|
||||||
|
movement.twotwo_Collider.gameObject.SetActive(false);
|
||||||
|
movement.twothree_Collider.gameObject.SetActive(false);
|
||||||
|
movement.twofour_Collider.gameObject.SetActive(false);
|
||||||
|
movement.threeone_Collider.gameObject.SetActive(false);
|
||||||
|
movement.threetwo_Collider.gameObject.SetActive(false);
|
||||||
|
movement.threethree_Collider.gameObject.SetActive(false);
|
||||||
|
movement.threefour_Collider.gameObject.SetActive(false);
|
||||||
|
|
||||||
|
energiafejlesztés.SetActive(false);
|
||||||
|
akciofejlesztés.SetActive(false);
|
||||||
|
harcfejlesztés.SetActive(false);
|
||||||
|
ujradobasfejlesztés.SetActive(false);
|
||||||
|
hackfejlesztés.SetActive(false);
|
||||||
|
kovetkezokor.SetActive(false);
|
||||||
|
betarazas.SetActive(false);
|
||||||
|
nyomozas.SetActive(false);
|
||||||
|
hackeles.SetActive(false);
|
||||||
|
helyszinaktivalasBtn.gameObject.SetActive(false);
|
||||||
|
harc.SetActive(false);
|
||||||
|
//test.SetActive(false);
|
||||||
|
rolldice.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private async void HandleFejlesztes()
|
private async void HandleFejlesztes()
|
||||||
{
|
{
|
||||||
|
//uzenetBox.text = "Válassz fejlesztést";
|
||||||
|
messageBox.SendMessageToBox("Válassz fejlesztést");
|
||||||
|
|
||||||
energiafejlesztés.SetActive(true);
|
energiafejlesztés.SetActive(true);
|
||||||
akciofejlesztés.SetActive(true);
|
akciofejlesztés.SetActive(true);
|
||||||
harcfejlesztés.SetActive(true);
|
harcfejlesztés.SetActive(true);
|
||||||
ujradobasfejlesztés.SetActive(true);
|
ujradobasfejlesztés.SetActive(true);
|
||||||
hackfejlesztés.SetActive(true);
|
hackfejlesztés.SetActive(true);
|
||||||
kovetkezokor.SetActive(true);
|
kovetkezokor.SetActive(false);
|
||||||
|
//rolldice.SetActive(false);
|
||||||
|
helyszinaktivalasBtn.gameObject.SetActive(false);
|
||||||
|
harc.SetActive(false);
|
||||||
|
|
||||||
|
betarazas.SetActive(false);
|
||||||
|
nyomozas.SetActive(false);
|
||||||
|
hackeles.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void HandleAkcio()
|
private async void HandleAkcio()
|
||||||
{
|
{
|
||||||
|
//uzenetBox.text = "Válassz akciókat!";
|
||||||
|
messageBox.SendMessageToBox("Válassz akciókat vagy dobj a kockával!");
|
||||||
|
|
||||||
//itt a movement bekapcsol
|
//itt a movement bekapcsol
|
||||||
kovetkezokor.SetActive(true);
|
kovetkezokor.SetActive(true);
|
||||||
betarazas.SetActive(true);
|
betarazas.SetActive(true);
|
||||||
nyomozas.SetActive(true);
|
nyomozas.SetActive(true);
|
||||||
hackeles.SetActive(true);
|
hackeles.SetActive(true);
|
||||||
|
helyszinaktivalasBtn.gameObject.SetActive(true);
|
||||||
|
energiafejlesztés.SetActive(false);
|
||||||
|
akciofejlesztés.SetActive(false);
|
||||||
|
harcfejlesztés.SetActive(false);
|
||||||
|
ujradobasfejlesztés.SetActive(false);
|
||||||
|
hackfejlesztés.SetActive(false);
|
||||||
|
harc.SetActive(true);
|
||||||
|
|
||||||
|
kovetkezokor.SetActive(true);
|
||||||
|
|
||||||
|
//ha ugynok valasztasbol jon kapcsolaja vissza a collidereket
|
||||||
|
movement.oneone_Collider.gameObject.SetActive(true);
|
||||||
|
movement.onetwo_Collider.gameObject.SetActive(true);
|
||||||
|
movement.onethree_Collider.gameObject.SetActive(true);
|
||||||
|
movement.onefour_Collider.gameObject.SetActive(true);
|
||||||
|
movement.twoone_Collider.gameObject.SetActive(true);
|
||||||
|
movement.twotwo_Collider.gameObject.SetActive(true);
|
||||||
|
movement.twothree_Collider.gameObject.SetActive(true);
|
||||||
|
movement.twofour_Collider.gameObject.SetActive(true);
|
||||||
|
movement.threeone_Collider.gameObject.SetActive(true);
|
||||||
|
movement.threetwo_Collider.gameObject.SetActive(true);
|
||||||
|
movement.threethree_Collider.gameObject.SetActive(true);
|
||||||
|
movement.threefour_Collider.gameObject.SetActive(true);
|
||||||
|
|
||||||
|
rolldice.SetActive(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private async void HandleVesztette()
|
||||||
/*
|
|
||||||
|
|
||||||
// Update is called once per frame
|
|
||||||
IEnumerator MyCoroutine()
|
|
||||||
{
|
{
|
||||||
//amig a játékos vesztett bool nem egyenlo true-val vagy a nyert bool nem egyenlo true-val
|
//vegpontozas.pontkiiras();
|
||||||
//while (jatekosnyert != true || jatekosvesztett != true)
|
JatekosNyert();
|
||||||
//{
|
JatekosVesztett();
|
||||||
//a jatekos mikor belép semmit ne tudjon csinálni csak dobni a kockával, hogy elkezdje a játékot
|
}
|
||||||
energiafejlesztés.SetActive(false);
|
|
||||||
akciofejlesztés.SetActive(false);
|
|
||||||
harcfejlesztés.SetActive(false);
|
|
||||||
ujradobasfejlesztés.SetActive(false);
|
|
||||||
hackfejlesztés.SetActive(false);
|
|
||||||
kovetkezokor.SetActive(false);
|
|
||||||
betarazas.SetActive(false);
|
|
||||||
nyomozas.SetActive(false);
|
|
||||||
hackeles.SetActive(false);
|
|
||||||
//test.SetActive(false);
|
|
||||||
|
|
||||||
|
private void Update()
|
||||||
|
{
|
||||||
|
/*if(jatekosvesztett){
|
||||||
|
SceneManager.LoadScene("JatekosVesztett");
|
||||||
|
}
|
||||||
|
if(jatekosnyert){
|
||||||
|
SceneManager.LoadScene("JatekosNyert");
|
||||||
|
}*/
|
||||||
|
|
||||||
|
if (Input.GetKeyDown(KeyCode.Escape))
|
||||||
|
{
|
||||||
//&& dice.getLocked() != true
|
if (GameIsPlaying)
|
||||||
|
|
||||||
//ez rossz!!!!
|
|
||||||
//while (dice.dobott < upgrade.getUjradobasIndex() + 1 )
|
|
||||||
//{
|
|
||||||
|
|
||||||
//eddig újradobhat
|
|
||||||
//}
|
|
||||||
|
|
||||||
|
|
||||||
yield return new WaitUntil(() => dice.getLocked() == true);
|
|
||||||
|
|
||||||
|
|
||||||
while (vanertelme == true)
|
|
||||||
{
|
{
|
||||||
//a játékos választ a két érték között
|
Pause();
|
||||||
if (upgrade.canUpgrade == true)
|
Debug.Log("Game is paused");
|
||||||
{
|
|
||||||
//ha a kisebbet választotta akkor jelennek meg a fejlesztés gombjai
|
|
||||||
energiafejlesztés.SetActive(true);
|
|
||||||
akciofejlesztés.SetActive(true);
|
|
||||||
harcfejlesztés.SetActive(true);
|
|
||||||
ujradobasfejlesztés.SetActive(true);
|
|
||||||
hackfejlesztés.SetActive(true);
|
|
||||||
kovetkezokor.SetActive(true);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
//ha a nagyobbat választotta akkor jelennek meg az akciók gombjai
|
|
||||||
|
|
||||||
//itt a movement bekapcsol
|
|
||||||
kovetkezokor.SetActive(true);
|
|
||||||
betarazas.SetActive(true);
|
|
||||||
nyomozas.SetActive(true);
|
|
||||||
hackeles.SetActive(true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Resume();
|
||||||
|
Debug.Log("Game is playing");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private async void ugynokDeaktivalas(bool bekapcsolas)
|
||||||
|
{
|
||||||
|
energiafejlesztés.SetActive(bekapcsolas);
|
||||||
|
akciofejlesztés.SetActive(bekapcsolas);
|
||||||
|
harcfejlesztés.SetActive(bekapcsolas);
|
||||||
|
ujradobasfejlesztés.SetActive(bekapcsolas);
|
||||||
|
hackfejlesztés.SetActive(bekapcsolas);
|
||||||
|
kovetkezokor.SetActive(bekapcsolas);
|
||||||
|
betarazas.SetActive(bekapcsolas);
|
||||||
|
nyomozas.SetActive(bekapcsolas);
|
||||||
|
hackeles.SetActive(bekapcsolas);
|
||||||
|
|
||||||
|
//roll dice gomb
|
||||||
|
rolldice.SetActive(bekapcsolas);
|
||||||
|
//kovetkezo kor
|
||||||
|
kovetkezokor.SetActive(bekapcsolas);
|
||||||
|
//helyszinaktivalas
|
||||||
|
helyszinaktivalasBtn.gameObject.SetActive(bekapcsolas);
|
||||||
|
|
||||||
|
|
||||||
|
movement.oneone_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
movement.onetwo_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
movement.onethree_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
movement.onefour_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
movement.twoone_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
movement.twotwo_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
movement.twothree_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
movement.twofour_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
movement.threeone_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
movement.threetwo_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
movement.threethree_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
movement.threefour_Collider.gameObject.SetActive(bekapcsolas);
|
||||||
|
harc.SetActive(bekapcsolas);
|
||||||
|
|
||||||
//itt az akciopont elérte a 0-át
|
targyak.hackerFelhasznalva.GetComponent<Button>().gameObject.SetActive(bekapcsolas);
|
||||||
//movement kikapcs
|
targyak.lathatatlanFelhasznalva.GetComponent<Button>().gameObject.SetActive(bekapcsolas);
|
||||||
energiafejlesztés.SetActive(false);
|
targyak.droidFelhasznalva.GetComponent<Button>().gameObject.SetActive(bekapcsolas);
|
||||||
akciofejlesztés.SetActive(false);
|
targyak.matavFelhasznalva.GetComponent<Button>().gameObject.SetActive(bekapcsolas);
|
||||||
harcfejlesztés.SetActive(false);
|
targyak.alomhozoFelhasznalva.GetComponent<Button>().gameObject.SetActive(bekapcsolas);
|
||||||
ujradobasfejlesztés.SetActive(false);
|
|
||||||
hackfejlesztés.SetActive(false);
|
|
||||||
//rolldice.SetActive(false);
|
|
||||||
betarazas.SetActive(false);
|
|
||||||
nyomozas.SetActive(false);
|
|
||||||
hackeles.SetActive(false);
|
|
||||||
//test.SetActive(false);
|
|
||||||
kovetkezokor.SetActive(true);
|
|
||||||
|
|
||||||
//amint rányom a kör vége gombra 0 legyen az akciópont és megint csak a dobás legyen elérhető
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//}
|
|
||||||
|
|
||||||
//JatekosNyert();
|
|
||||||
//JatekosVesztett();
|
|
||||||
|
|
||||||
|
dice.dice1btnBtn.gameObject.SetActive(bekapcsolas);
|
||||||
|
dice.dice2btnBtn.gameObject.SetActive(bekapcsolas);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void JatekosNyert()
|
public void JatekosNyert()
|
||||||
{
|
{
|
||||||
if (source.isNyitva == true && source.oszlop == movement.jelenlegi_y && source.sor[0] == movement.jelenlegi_x) //+ ugynokcsapat oles a helyszinen
|
Debug.Log("Játékos nyerésének vizsgálata.");
|
||||||
|
Debug.Log("A forrás oszlopa:" + source.oszlop);
|
||||||
|
Debug.Log("A forrás sora:" + source.sor[0]);
|
||||||
|
//Debug.Log("");
|
||||||
|
Debug.Log("A te jelenlegi oszlopod:" + movement.jelenlegi_y);
|
||||||
|
Debug.Log("A te jelenlegi sorod:" + movement.jelenlegi_x);
|
||||||
|
if (source.isNyitva == true && source.oszlop == movement.jelenlegi_x && source.sor[0] == movement.jelenlegi_y) //+ ugynokcsapat oles a helyszinen
|
||||||
{
|
{
|
||||||
|
Debug.Log("A forrás ki van nyitva és ott állsz ahol a forrás is van.");
|
||||||
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 1)
|
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 1)
|
||||||
{
|
{
|
||||||
if (oneone[0].text.Equals("X") && oneone[1].text.Equals("X") && oneone[2].text.Equals("X"))
|
if (oneone[0].text.Equals("X") && oneone[1].text.Equals("X") && oneone[2].text.Equals("X"))
|
||||||
{
|
{
|
||||||
jatekosnyert = true;
|
jatekosnyert = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 2)
|
if (movement.jelenlegi_x == 1 && movement.jelenlegi_y == 2)
|
||||||
@@ -342,14 +569,24 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(jatekosnyert){
|
if (jatekosnyert)
|
||||||
SceneManager.LoadScene("JatekosNyert");
|
{
|
||||||
|
//vegpontozas.pontkiiras();
|
||||||
|
//SceneManager.LoadScene("JatekosNyert");
|
||||||
|
eredmenyText.text = "Nyertél";
|
||||||
|
pontszam.text = "Pontszámod: " + vegpontozas.OsszpontSzamalas().ToString();
|
||||||
|
eredmenyPanel.SetActive(true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.Log("Nem nyert a játékos ebben a körben");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void JatekosVesztett()
|
public void JatekosVesztett()
|
||||||
{
|
{
|
||||||
|
Debug.Log("Játékos vesztésének vizsgálata.");
|
||||||
//ha kinyilik a forras de mar voltal ott ketszer
|
//ha kinyilik a forras de mar voltal ott ketszer
|
||||||
if (source.isNyitva == true)
|
if (source.isNyitva == true)
|
||||||
{
|
{
|
||||||
@@ -363,11 +600,11 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source.sor[0] == 2 && source.oszlop == 1)
|
if (source.sor[0] == 1 && source.oszlop == 2)
|
||||||
{
|
{
|
||||||
if (movement.feketepiaclepes2.activeSelf == true)
|
if (movement.feketepiaclepes2.activeSelf == true)
|
||||||
{
|
{
|
||||||
@@ -377,11 +614,11 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source.sor[0] == 3 && source.oszlop == 1)
|
if (source.sor[0] == 1 && source.oszlop == 3)
|
||||||
{
|
{
|
||||||
if (movement.metrolepes2.activeSelf == true)
|
if (movement.metrolepes2.activeSelf == true)
|
||||||
{
|
{
|
||||||
@@ -391,11 +628,11 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source.sor[0] == 1 && source.oszlop == 2)
|
if (source.sor[0] == 2 && source.oszlop == 1)
|
||||||
{
|
{
|
||||||
if (movement.szervereklepes2.activeSelf == true)
|
if (movement.szervereklepes2.activeSelf == true)
|
||||||
{
|
{
|
||||||
@@ -405,7 +642,7 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -419,11 +656,11 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source.sor[0] == 3 && source.oszlop == 2)
|
if (source.sor[0] == 2 && source.oszlop == 3)
|
||||||
{
|
{
|
||||||
if (movement.feltoltolepes2.activeSelf == true)
|
if (movement.feltoltolepes2.activeSelf == true)
|
||||||
{
|
{
|
||||||
@@ -433,11 +670,11 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source.sor[0] == 1 && source.oszlop == 3)
|
if (source.sor[0] == 3 && source.oszlop == 1)
|
||||||
{
|
{
|
||||||
if (movement.kutatolaborlepes2.activeSelf == true)
|
if (movement.kutatolaborlepes2.activeSelf == true)
|
||||||
{
|
{
|
||||||
@@ -447,11 +684,11 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source.sor[0] == 2 && source.oszlop == 3)
|
if (source.sor[0] == 3 && source.oszlop == 2)
|
||||||
{
|
{
|
||||||
if (movement.kriptoklublepes2.activeSelf == true)
|
if (movement.kriptoklublepes2.activeSelf == true)
|
||||||
{
|
{
|
||||||
@@ -461,7 +698,7 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -475,11 +712,11 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source.sor[0] == 1 && source.oszlop == 4)
|
if (source.sor[0] == 4 && source.oszlop == 1)
|
||||||
{
|
{
|
||||||
if (movement.hadiuzemlepes2.activeSelf == true)
|
if (movement.hadiuzemlepes2.activeSelf == true)
|
||||||
{
|
{
|
||||||
@@ -489,11 +726,11 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source.sor[0] == 2 && source.oszlop == 4)
|
if (source.sor[0] == 4 && source.oszlop == 2)
|
||||||
{
|
{
|
||||||
if (movement.konyvtarlepes2.activeSelf == true)
|
if (movement.konyvtarlepes2.activeSelf == true)
|
||||||
{
|
{
|
||||||
@@ -503,11 +740,11 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source.sor[0] == 3 && source.oszlop == 4)
|
if (source.sor[0] == 4 && source.oszlop == 3)
|
||||||
{
|
{
|
||||||
if (movement.korhazlepes2.activeSelf == true)
|
if (movement.korhazlepes2.activeSelf == true)
|
||||||
{
|
{
|
||||||
@@ -517,7 +754,7 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jatekosvesztett = false;
|
jatekosvesztett = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -613,10 +850,18 @@ public class jatekmanager : MonoBehaviour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(jatekosvesztett){
|
if (jatekosvesztett)
|
||||||
SceneManager.LoadScene("JatekosVesztett");
|
{
|
||||||
|
//vegpontozas.pontkiiras();
|
||||||
|
//SceneManager.LoadScene("JatekosVesztett");
|
||||||
|
eredmenyText.text = "Vesztettél";
|
||||||
|
pontszam.text = "Pontszámod: " + vegpontozas.OsszpontSzamalas().ToString();
|
||||||
|
eredmenyPanel.SetActive(true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.Log("Jelenleg itt állsz: " + movement.jelenlegi_x + ". sor, " + movement.jelenlegi_y + ". oszlop");
|
||||||
|
Debug.Log("A játékos nem vesztett ebben a körben.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
}
|
||||||
}
|
|
||||||
|
|
||||||
15
Assets/Scripts/menu/FrameRateSetter.cs
Normal file
15
Assets/Scripts/menu/FrameRateSetter.cs
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class FrameRateSetter : MonoBehaviour
|
||||||
|
{
|
||||||
|
|
||||||
|
private void Awake() {
|
||||||
|
#if !UNITY_ANDROID || !UNITY_IOS
|
||||||
|
Application.targetFrameRate = 60;
|
||||||
|
#else
|
||||||
|
Application.targetFrameRate = 30;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/menu/FrameRateSetter.cs.meta
Normal file
11
Assets/Scripts/menu/FrameRateSetter.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b0fa93b33fed1ce42a3e77548b03decc
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -5,16 +5,51 @@ using UnityEngine.SceneManagement;
|
|||||||
|
|
||||||
public class MainMenu : MonoBehaviour
|
public class MainMenu : MonoBehaviour
|
||||||
{
|
{
|
||||||
public void PlayGame() {
|
public GameObject MainMenuObj;
|
||||||
|
public GameObject OptionsMenu;
|
||||||
|
public GameObject CreditsMenuObj;
|
||||||
|
public GameObject VideoButton;
|
||||||
|
|
||||||
|
private AudioManager audioManager;
|
||||||
|
|
||||||
|
private void Awake() {
|
||||||
|
audioManager = FindObjectOfType<AudioManager>();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Start() {
|
||||||
|
//audioManager.Play("MenuMusic");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PlayGame()
|
||||||
|
{
|
||||||
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
|
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void QuitGame() {
|
public void QuitGame()
|
||||||
|
{
|
||||||
Debug.Log("Application is quitting!!");
|
Debug.Log("Application is quitting!!");
|
||||||
Application.Quit();
|
Application.Quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void GoToMenu(){
|
public void GoToMenu()
|
||||||
|
{
|
||||||
SceneManager.LoadScene("MainMenu");
|
SceneManager.LoadScene("MainMenu");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void OptionMenu()
|
||||||
|
{
|
||||||
|
MainMenuObj.SetActive(false); //kikapcsolni a fomenu dolgokat
|
||||||
|
OptionsMenu.SetActive(true); //bekapcsolni a beallitas menu dolgokat
|
||||||
|
|
||||||
|
//megvizsgalni hogy a platform szamitogep, es ha nem csak a hangerot lehessen allitani
|
||||||
|
if (Application.platform == RuntimePlatform.WindowsPlayer || Application.platform == RuntimePlatform.OSXPlayer || Application.platform == RuntimePlatform.LinuxPlayer || Application.platform == RuntimePlatform.WindowsEditor || Application.platform == RuntimePlatform.OSXEditor || Application.platform == RuntimePlatform.LinuxEditor)
|
||||||
|
{
|
||||||
|
VideoButton.SetActive(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void CreditsMenu(){
|
||||||
|
MainMenuObj.SetActive(false);
|
||||||
|
CreditsMenuObj.SetActive(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class MainMenuQuit : MonoBehaviour
|
|
||||||
{
|
|
||||||
public void QuitGame() {
|
|
||||||
Debug.Log("Application is quitting!!");
|
|
||||||
Application.Quit();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -38,19 +38,6 @@ public class OptionMenu : MonoBehaviour
|
|||||||
Screen.SetResolution(resolution.width, resolution.height, Screen.fullScreen);
|
Screen.SetResolution(resolution.width, resolution.height, Screen.fullScreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Audio
|
|
||||||
public AudioMixer mixer;
|
|
||||||
|
|
||||||
public void SetMainVolume(float mainVolume) {
|
|
||||||
mixer.SetFloat("Master", mainVolume);
|
|
||||||
}
|
|
||||||
public void SetMusicVolume(float musicVolume) {
|
|
||||||
mixer.SetFloat("Music", musicVolume);
|
|
||||||
}
|
|
||||||
public void SetSfxVolume(float sfxVolume) {
|
|
||||||
mixer.SetFloat("Sfx", sfxVolume);
|
|
||||||
}
|
|
||||||
|
|
||||||
//Quality
|
//Quality
|
||||||
public void setQuality(int qualityIndex) {
|
public void setQuality(int qualityIndex) {
|
||||||
QualitySettings.SetQualityLevel(qualityIndex);
|
QualitySettings.SetQualityLevel(qualityIndex);
|
||||||
@@ -61,7 +48,7 @@ public class OptionMenu : MonoBehaviour
|
|||||||
Screen.fullScreen = isFullscreen;
|
Screen.fullScreen = isFullscreen;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setVsync(bool value) {
|
/*public void setVsync(bool value) {
|
||||||
int num = 0;
|
int num = 0;
|
||||||
|
|
||||||
if (value) num = 1;
|
if (value) num = 1;
|
||||||
@@ -71,5 +58,5 @@ public class OptionMenu : MonoBehaviour
|
|||||||
else Debug.Log("vsync off");
|
else Debug.Log("vsync off");
|
||||||
|
|
||||||
QualitySettings.vSyncCount = num;
|
QualitySettings.vSyncCount = num;
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,60 @@ guid: 413457e37755a704786899a2420c6b9a
|
|||||||
MonoImporter:
|
MonoImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
defaultReferences: []
|
defaultReferences:
|
||||||
|
- THE_Camera: {instanceID: 0}
|
||||||
|
- player: {instanceID: 0}
|
||||||
|
- oneone: {instanceID: 0}
|
||||||
|
- oneone_Collider: {instanceID: 0}
|
||||||
|
- eromulepes1: {instanceID: 0}
|
||||||
|
- eromulepes2: {instanceID: 0}
|
||||||
|
- twoone: {instanceID: 0}
|
||||||
|
- twoone_Collider: {instanceID: 0}
|
||||||
|
- feketepiaclepes1: {instanceID: 0}
|
||||||
|
- feketepiaclepes2: {instanceID: 0}
|
||||||
|
- threeone: {instanceID: 0}
|
||||||
|
- threeone_Collider: {instanceID: 0}
|
||||||
|
- metrolepes1: {instanceID: 0}
|
||||||
|
- metrolepes2: {instanceID: 0}
|
||||||
|
- onetwo: {instanceID: 0}
|
||||||
|
- onetwo_Collider: {instanceID: 0}
|
||||||
|
- szervereklepes1: {instanceID: 0}
|
||||||
|
- szervereklepes2: {instanceID: 0}
|
||||||
|
- twotwo: {instanceID: 0}
|
||||||
|
- twotwo_Collider: {instanceID: 0}
|
||||||
|
- kingcasinolepes1: {instanceID: 0}
|
||||||
|
- kingcasinolepes2: {instanceID: 0}
|
||||||
|
- threetwo: {instanceID: 0}
|
||||||
|
- threetwo_Collider: {instanceID: 0}
|
||||||
|
- feltoltolepes1: {instanceID: 0}
|
||||||
|
- feltoltolepes2: {instanceID: 0}
|
||||||
|
- onethree: {instanceID: 0}
|
||||||
|
- onethree_Collider: {instanceID: 0}
|
||||||
|
- kutatolaborlepes1: {instanceID: 0}
|
||||||
|
- kutatolaborlepes2: {instanceID: 0}
|
||||||
|
- twothree: {instanceID: 0}
|
||||||
|
- twothree_Collider: {instanceID: 0}
|
||||||
|
- kriptoklublepes1: {instanceID: 0}
|
||||||
|
- kriptoklublepes2: {instanceID: 0}
|
||||||
|
- threethree: {instanceID: 0}
|
||||||
|
- threethree_Collider: {instanceID: 0}
|
||||||
|
- cyberplazalepes1: {instanceID: 0}
|
||||||
|
- cyberplazalepes2: {instanceID: 0}
|
||||||
|
- onefour: {instanceID: 0}
|
||||||
|
- onefour_Collider: {instanceID: 0}
|
||||||
|
- hadiuzemlepes1: {instanceID: 0}
|
||||||
|
- hadiuzemlepes2: {instanceID: 0}
|
||||||
|
- twofour: {instanceID: 0}
|
||||||
|
- twofour_Collider: {instanceID: 0}
|
||||||
|
- konyvtarlepes1: {instanceID: 0}
|
||||||
|
- konyvtarlepes2: {instanceID: 0}
|
||||||
|
- threefour: {instanceID: 0}
|
||||||
|
- threefour_Collider: {instanceID: 0}
|
||||||
|
- korhazlepes1: {instanceID: 0}
|
||||||
|
- korhazlepes2: {instanceID: 0}
|
||||||
|
- confirmMove: {instanceID: 0}
|
||||||
|
- cancelMove: {instanceID: 0}
|
||||||
|
- parentMoveConfirm: {instanceID: 0}
|
||||||
executionOrder: 0
|
executionOrder: 0
|
||||||
icon: {instanceID: 0}
|
icon: {instanceID: 0}
|
||||||
userData:
|
userData:
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using TMPro;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class nyomozas : MonoBehaviour
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class uj : MonoBehaviour
|
|
||||||
{
|
|
||||||
// Start is called before the first frame update
|
|
||||||
void Start()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// Update is called once per frame
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -2,7 +2,10 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using TMPro;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using UnityEngine.SceneManagement;
|
||||||
|
|
||||||
public class vegpontozas : MonoBehaviour
|
public class vegpontozas : MonoBehaviour
|
||||||
{
|
{
|
||||||
@@ -11,34 +14,35 @@ public class vegpontozas : MonoBehaviour
|
|||||||
private Targyak targyak;
|
private Targyak targyak;
|
||||||
private Akciok akciok;
|
private Akciok akciok;
|
||||||
private Elet elet;
|
private Elet elet;
|
||||||
public bool foundsource;
|
|
||||||
|
public TMP_Text szoveg;
|
||||||
|
|
||||||
int osszpont = 0;
|
public int osszpont = 0;
|
||||||
int tolteny;
|
int tolteny;
|
||||||
int megszerzetttargyak;
|
int megszerzetttargyak;
|
||||||
int fejlesztespont;
|
int fejlesztespont;
|
||||||
int energiapont;
|
int energiapont;
|
||||||
int megmaradtelet;
|
int megmaradtelet;
|
||||||
|
|
||||||
void Start()
|
void Awake()
|
||||||
{
|
{
|
||||||
energia = FindObjectOfType<Energia>();
|
energia = FindObjectOfType<Energia>();
|
||||||
FejlesztesPont = FindObjectOfType<Upgrade>();
|
FejlesztesPont = FindObjectOfType<Upgrade>();
|
||||||
targyak = FindObjectOfType<Targyak>();
|
targyak = FindObjectOfType<Targyak>();
|
||||||
akciok = FindObjectOfType<Akciok>();
|
akciok = FindObjectOfType<Akciok>();
|
||||||
elet = FindObjectOfType<Elet>();
|
elet = FindObjectOfType<Elet>();
|
||||||
foundsource = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int OsszpontSzamalas()
|
public int OsszpontSzamalas()
|
||||||
{
|
{
|
||||||
energiapont = energia.energiasav_text.Length - (energia.getEnergiasavIndex() + 1);
|
energiapont = energia.energiasav_text.Length - (energia.getEnergiasavIndex() + 1);
|
||||||
megmaradtelet = elet.elet;
|
megmaradtelet = elet.elet;
|
||||||
tolteny = akciok.betarazott_tolteny;
|
tolteny = akciok.getBetarazottTolteny();
|
||||||
megszerzetttargyak = targyak.targy_szamlalo;
|
megszerzetttargyak = targyak.targy_szamlalo;
|
||||||
fejlesztespont = FejlesztesPont.fejlesztes_szamlalo;
|
fejlesztespont = FejlesztesPont.fejlesztes_szamlalo;
|
||||||
|
|
||||||
osszpont = (energiapont * 2) + (megmaradtelet * 2) + (fejlesztespont / 3) + (tolteny / 2) + megszerzetttargyak;
|
osszpont = (energiapont * 2) + (megmaradtelet * 2) + (fejlesztespont / 3) + (tolteny / 2) + megszerzetttargyak;
|
||||||
|
//textMesh.text = "Összesen ennyi pontot szereztél:" + osszpont;
|
||||||
return osszpont;
|
return osszpont;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,14 +2,15 @@
|
|||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!21 &2180264
|
--- !u!21 &2180264
|
||||||
Material:
|
Material:
|
||||||
serializedVersion: 6
|
serializedVersion: 8
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: LiberationSans SDF Material
|
m_Name: LiberationSans SDF Material
|
||||||
m_Shader: {fileID: 4800000, guid: fe393ace9b354375a9cb14cdbbc28be4, type: 3}
|
m_Shader: {fileID: 4800000, guid: fe393ace9b354375a9cb14cdbbc28be4, type: 3}
|
||||||
m_ShaderKeywords:
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
m_LightmapFlags: 1
|
m_LightmapFlags: 1
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 0
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
@@ -67,6 +68,7 @@ Material:
|
|||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
m_Floats:
|
m_Floats:
|
||||||
- _Ambient: 0.5
|
- _Ambient: 0.5
|
||||||
- _Bevel: 0.5
|
- _Bevel: 0.5
|
||||||
@@ -148,6 +150,7 @@ Material:
|
|||||||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
--- !u!114 &11400000
|
--- !u!114 &11400000
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -165,15 +168,16 @@ MonoBehaviour:
|
|||||||
materialHashCode: 462855346
|
materialHashCode: 462855346
|
||||||
m_Version: 1.1.0
|
m_Version: 1.1.0
|
||||||
m_SourceFontFileGUID: e3265ab4bf004d28a9537516768c1c75
|
m_SourceFontFileGUID: e3265ab4bf004d28a9537516768c1c75
|
||||||
m_SourceFontFile_EditorRef: {fileID: 12800000, guid: e3265ab4bf004d28a9537516768c1c75,
|
m_SourceFontFile_EditorRef: {fileID: 12800000, guid: e3265ab4bf004d28a9537516768c1c75, type: 3}
|
||||||
type: 3}
|
|
||||||
m_SourceFontFile: {fileID: 12800000, guid: e3265ab4bf004d28a9537516768c1c75, type: 3}
|
m_SourceFontFile: {fileID: 12800000, guid: e3265ab4bf004d28a9537516768c1c75, type: 3}
|
||||||
m_AtlasPopulationMode: 1
|
m_AtlasPopulationMode: 1
|
||||||
m_FaceInfo:
|
m_FaceInfo:
|
||||||
|
m_FaceIndex: 0
|
||||||
m_FamilyName: Liberation Sans
|
m_FamilyName: Liberation Sans
|
||||||
m_StyleName: Regular
|
m_StyleName: Regular
|
||||||
m_PointSize: 86
|
m_PointSize: 86
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
|
m_UnitsPerEM: 0
|
||||||
m_LineHeight: 98.8916
|
m_LineHeight: 98.8916
|
||||||
m_AscentLine: 77.853516
|
m_AscentLine: 77.853516
|
||||||
m_CapLine: 59
|
m_CapLine: 59
|
||||||
@@ -313,15 +317,20 @@ Texture2D:
|
|||||||
Hash: 00000000000000000000000000000000
|
Hash: 00000000000000000000000000000000
|
||||||
m_ForcedFallbackFormat: 4
|
m_ForcedFallbackFormat: 4
|
||||||
m_DownscaleFallback: 0
|
m_DownscaleFallback: 0
|
||||||
|
m_IsAlphaChannelOptional: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Width: 0
|
m_Width: 0
|
||||||
m_Height: 0
|
m_Height: 0
|
||||||
m_CompleteImageSize: 0
|
m_CompleteImageSize: 0
|
||||||
|
m_MipsStripped: 0
|
||||||
m_TextureFormat: 1
|
m_TextureFormat: 1
|
||||||
m_MipCount: 1
|
m_MipCount: 1
|
||||||
m_IsReadable: 1
|
m_IsReadable: 1
|
||||||
|
m_IsPreProcessed: 0
|
||||||
|
m_IgnoreMasterTextureLimit: 0
|
||||||
m_StreamingMipmaps: 0
|
m_StreamingMipmaps: 0
|
||||||
m_StreamingMipmapsPriority: 0
|
m_StreamingMipmapsPriority: 0
|
||||||
|
m_VTOnly: 0
|
||||||
m_AlphaIsTransparency: 0
|
m_AlphaIsTransparency: 0
|
||||||
m_ImageCount: 1
|
m_ImageCount: 1
|
||||||
m_TextureDimension: 2
|
m_TextureDimension: 2
|
||||||
@@ -335,9 +344,11 @@ Texture2D:
|
|||||||
m_WrapW: 0
|
m_WrapW: 0
|
||||||
m_LightmapFormat: 0
|
m_LightmapFormat: 0
|
||||||
m_ColorSpace: 0
|
m_ColorSpace: 0
|
||||||
|
m_PlatformBlob:
|
||||||
image data: 0
|
image data: 0
|
||||||
_typelessdata:
|
_typelessdata:
|
||||||
m_StreamData:
|
m_StreamData:
|
||||||
|
serializedVersion: 2
|
||||||
offset: 0
|
offset: 0
|
||||||
size: 0
|
size: 0
|
||||||
path:
|
path:
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ Material:
|
|||||||
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
|
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
|
||||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
- _UnderlayColor: {r: 1, g: 0.0141509175, b: 0.0141509175, a: 0.5}
|
||||||
m_BuildTextureStacks: []
|
m_BuildTextureStacks: []
|
||||||
--- !u!114 &11400000
|
--- !u!114 &11400000
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ MonoBehaviour:
|
|||||||
m_AdditionalLightsShadowResolutionTierHigh: 1024
|
m_AdditionalLightsShadowResolutionTierHigh: 1024
|
||||||
m_ReflectionProbeBlending: 0
|
m_ReflectionProbeBlending: 0
|
||||||
m_ReflectionProbeBoxProjection: 0
|
m_ReflectionProbeBoxProjection: 0
|
||||||
m_ShadowDistance: 1
|
m_ShadowDistance: 0
|
||||||
m_ShadowCascadeCount: 1
|
m_ShadowCascadeCount: 1
|
||||||
m_Cascade2Split: 0.25
|
m_Cascade2Split: 0.25
|
||||||
m_Cascade3Split: {x: 0.1, y: 0.3}
|
m_Cascade3Split: {x: 0.1, y: 0.3}
|
||||||
@@ -50,6 +50,7 @@ MonoBehaviour:
|
|||||||
m_CascadeBorder: 0.2
|
m_CascadeBorder: 0.2
|
||||||
m_ShadowDepthBias: 1
|
m_ShadowDepthBias: 1
|
||||||
m_ShadowNormalBias: 1
|
m_ShadowNormalBias: 1
|
||||||
|
m_AnyShadowsSupported: 1
|
||||||
m_SoftShadowsSupported: 0
|
m_SoftShadowsSupported: 0
|
||||||
m_ConservativeEnclosingSphere: 1
|
m_ConservativeEnclosingSphere: 1
|
||||||
m_NumIterationsEnclosingSphere: 64
|
m_NumIterationsEnclosingSphere: 64
|
||||||
|
|||||||
@@ -2,13 +2,14 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.collab-proxy": "1.17.7",
|
"com.unity.collab-proxy": "1.17.7",
|
||||||
"com.unity.feature.2d": "1.0.0",
|
"com.unity.feature.2d": "1.0.0",
|
||||||
"com.unity.ide.visualstudio": "2.0.16",
|
"com.unity.ide.visualstudio": "2.0.17",
|
||||||
"com.unity.ide.vscode": "1.2.5",
|
"com.unity.ide.vscode": "1.2.5",
|
||||||
"com.unity.render-pipelines.universal": "12.1.8",
|
"com.unity.render-pipelines.universal": "12.1.8",
|
||||||
"com.unity.test-framework": "1.1.33",
|
"com.unity.test-framework": "1.1.33",
|
||||||
"com.unity.textmeshpro": "3.0.6",
|
"com.unity.textmeshpro": "3.0.6",
|
||||||
"com.unity.timeline": "1.6.4",
|
"com.unity.timeline": "1.6.4",
|
||||||
"com.unity.toolchain.linux-x86_64": "2.0.4",
|
"com.unity.toolchain.linux-x86_64": "2.0.4",
|
||||||
|
"com.unity.toolchain.win-x86_64-linux-x86_64": "2.0.4",
|
||||||
"com.unity.ugui": "1.0.0",
|
"com.unity.ugui": "1.0.0",
|
||||||
"com.unity.visualscripting": "1.7.8",
|
"com.unity.visualscripting": "1.7.8",
|
||||||
"com.unity.modules.ai": "1.0.0",
|
"com.unity.modules.ai": "1.0.0",
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"com.unity.ide.visualstudio": {
|
"com.unity.ide.visualstudio": {
|
||||||
"version": "2.0.16",
|
"version": "2.0.17",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -260,6 +260,16 @@
|
|||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
|
"com.unity.toolchain.win-x86_64-linux-x86_64": {
|
||||||
|
"version": "2.0.4",
|
||||||
|
"depth": 0,
|
||||||
|
"source": "registry",
|
||||||
|
"dependencies": {
|
||||||
|
"com.unity.sysroot": "2.0.5",
|
||||||
|
"com.unity.sysroot.linux-x86_64": "2.0.4"
|
||||||
|
},
|
||||||
|
"url": "https://packages.unity.com"
|
||||||
|
},
|
||||||
"com.unity.ugui": {
|
"com.unity.ugui": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
|
|||||||
16
ProjectSettings/BurstAotSettings_StandaloneOSX.json
Normal file
16
ProjectSettings/BurstAotSettings_StandaloneOSX.json
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"MonoBehaviour": {
|
||||||
|
"Version": 4,
|
||||||
|
"EnableBurstCompilation": true,
|
||||||
|
"EnableOptimisations": true,
|
||||||
|
"EnableSafetyChecks": false,
|
||||||
|
"EnableDebugInAllBuilds": false,
|
||||||
|
"EnableArmv9SecurityFeatures": false,
|
||||||
|
"CpuMinTargetX32": 0,
|
||||||
|
"CpuMaxTargetX32": 0,
|
||||||
|
"CpuMinTargetX64": 0,
|
||||||
|
"CpuMaxTargetX64": 0,
|
||||||
|
"CpuTargetsX64": 72,
|
||||||
|
"OptimizeFor": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -11,10 +11,4 @@ EditorBuildSettings:
|
|||||||
- enabled: 1
|
- enabled: 1
|
||||||
path: Assets/Scenes/Jatek.unity
|
path: Assets/Scenes/Jatek.unity
|
||||||
guid: 2cda990e2423bbf4892e6590ba056729
|
guid: 2cda990e2423bbf4892e6590ba056729
|
||||||
- enabled: 1
|
|
||||||
path: Assets/Scenes/JatekosNyert.unity
|
|
||||||
guid: a108b4cd028a15b2ea25558d17a38712
|
|
||||||
- enabled: 1
|
|
||||||
path: Assets/Scenes/JatekosVesztett.unity
|
|
||||||
guid: d535560266fd1da128ac0ee38d7f347a
|
|
||||||
m_configObjects: {}
|
m_configObjects: {}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ PlayerSettings:
|
|||||||
m_ShowUnitySplashLogo: 1
|
m_ShowUnitySplashLogo: 1
|
||||||
m_SplashScreenOverlayOpacity: 1
|
m_SplashScreenOverlayOpacity: 1
|
||||||
m_SplashScreenAnimation: 1
|
m_SplashScreenAnimation: 1
|
||||||
m_SplashScreenLogoStyle: 1
|
m_SplashScreenLogoStyle: 0
|
||||||
m_SplashScreenDrawMode: 0
|
m_SplashScreenDrawMode: 0
|
||||||
m_SplashScreenBackgroundAnimationZoom: 1
|
m_SplashScreenBackgroundAnimationZoom: 1
|
||||||
m_SplashScreenLogoAnimationZoom: 1
|
m_SplashScreenLogoAnimationZoom: 1
|
||||||
@@ -129,12 +129,12 @@ PlayerSettings:
|
|||||||
vulkanEnableLateAcquireNextImage: 0
|
vulkanEnableLateAcquireNextImage: 0
|
||||||
vulkanEnableCommandBufferRecycling: 1
|
vulkanEnableCommandBufferRecycling: 1
|
||||||
m_SupportedAspectRatios:
|
m_SupportedAspectRatios:
|
||||||
4:3: 1
|
4:3: 0
|
||||||
5:4: 1
|
5:4: 0
|
||||||
16:10: 1
|
16:10: 1
|
||||||
16:9: 1
|
16:9: 1
|
||||||
Others: 1
|
Others: 1
|
||||||
bundleVersion: 1.0
|
bundleVersion: 0.9.2.2
|
||||||
preloadedAssets: []
|
preloadedAssets: []
|
||||||
metroInputSource: 0
|
metroInputSource: 0
|
||||||
wsaTransparentSwapchain: 0
|
wsaTransparentSwapchain: 0
|
||||||
@@ -370,6 +370,66 @@ PlayerSettings:
|
|||||||
m_SubKind: App Store
|
m_SubKind: App Store
|
||||||
- m_BuildTarget: Android
|
- m_BuildTarget: Android
|
||||||
m_Icons:
|
m_Icons:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 192
|
||||||
|
m_Height: 192
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 144
|
||||||
|
m_Height: 144
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 96
|
||||||
|
m_Height: 96
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 72
|
||||||
|
m_Height: 72
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 48
|
||||||
|
m_Height: 48
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 36
|
||||||
|
m_Height: 36
|
||||||
|
m_Kind: 1
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 192
|
||||||
|
m_Height: 192
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 144
|
||||||
|
m_Height: 144
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 96
|
||||||
|
m_Height: 96
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 72
|
||||||
|
m_Height: 72
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 48
|
||||||
|
m_Height: 48
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
|
- m_Textures: []
|
||||||
|
m_Width: 36
|
||||||
|
m_Height: 36
|
||||||
|
m_Kind: 0
|
||||||
|
m_SubKind:
|
||||||
- m_Textures: []
|
- m_Textures: []
|
||||||
m_Width: 432
|
m_Width: 432
|
||||||
m_Height: 432
|
m_Height: 432
|
||||||
@@ -400,66 +460,6 @@ PlayerSettings:
|
|||||||
m_Height: 81
|
m_Height: 81
|
||||||
m_Kind: 2
|
m_Kind: 2
|
||||||
m_SubKind:
|
m_SubKind:
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 192
|
|
||||||
m_Height: 192
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 144
|
|
||||||
m_Height: 144
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 96
|
|
||||||
m_Height: 96
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 72
|
|
||||||
m_Height: 72
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 48
|
|
||||||
m_Height: 48
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 36
|
|
||||||
m_Height: 36
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 192
|
|
||||||
m_Height: 192
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 144
|
|
||||||
m_Height: 144
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 96
|
|
||||||
m_Height: 96
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 72
|
|
||||||
m_Height: 72
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 48
|
|
||||||
m_Height: 48
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 36
|
|
||||||
m_Height: 36
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
m_BuildTargetBatching: []
|
m_BuildTargetBatching: []
|
||||||
m_BuildTargetShaderSettings: []
|
m_BuildTargetShaderSettings: []
|
||||||
m_BuildTargetGraphicsJobs:
|
m_BuildTargetGraphicsJobs:
|
||||||
@@ -662,6 +662,7 @@ PlayerSettings:
|
|||||||
switchNetworkInterfaceManagerInitializeEnabled: 1
|
switchNetworkInterfaceManagerInitializeEnabled: 1
|
||||||
switchPlayerConnectionEnabled: 1
|
switchPlayerConnectionEnabled: 1
|
||||||
switchUseNewStyleFilepaths: 0
|
switchUseNewStyleFilepaths: 0
|
||||||
|
switchUseLegacyFmodPriorities: 1
|
||||||
switchUseMicroSleepForYield: 1
|
switchUseMicroSleepForYield: 1
|
||||||
switchEnableRamDiskSupport: 0
|
switchEnableRamDiskSupport: 0
|
||||||
switchMicroSleepForYieldTime: 25
|
switchMicroSleepForYieldTime: 25
|
||||||
@@ -761,10 +762,12 @@ PlayerSettings:
|
|||||||
webGLLinkerTarget: 1
|
webGLLinkerTarget: 1
|
||||||
webGLThreadsSupport: 0
|
webGLThreadsSupport: 0
|
||||||
webGLDecompressionFallback: 0
|
webGLDecompressionFallback: 0
|
||||||
|
webGLPowerPreference: 2
|
||||||
scriptingDefineSymbols: {}
|
scriptingDefineSymbols: {}
|
||||||
additionalCompilerArguments: {}
|
additionalCompilerArguments: {}
|
||||||
platformArchitecture: {}
|
platformArchitecture: {}
|
||||||
scriptingBackend: {}
|
scriptingBackend:
|
||||||
|
Standalone: 1
|
||||||
il2cppCompilerConfiguration: {}
|
il2cppCompilerConfiguration: {}
|
||||||
managedStrippingLevel: {}
|
managedStrippingLevel: {}
|
||||||
incrementalIl2cppBuild: {}
|
incrementalIl2cppBuild: {}
|
||||||
@@ -772,6 +775,7 @@ PlayerSettings:
|
|||||||
allowUnsafeCode: 0
|
allowUnsafeCode: 0
|
||||||
useDeterministicCompilation: 1
|
useDeterministicCompilation: 1
|
||||||
enableRoslynAnalyzers: 1
|
enableRoslynAnalyzers: 1
|
||||||
|
selectedPlatform: 0
|
||||||
additionalIl2CppArgs:
|
additionalIl2CppArgs:
|
||||||
scriptingRuntimeVersion: 1
|
scriptingRuntimeVersion: 1
|
||||||
gcIncremental: 1
|
gcIncremental: 1
|
||||||
@@ -849,6 +853,7 @@ PlayerSettings:
|
|||||||
m_VersionName:
|
m_VersionName:
|
||||||
apiCompatibilityLevel: 6
|
apiCompatibilityLevel: 6
|
||||||
activeInputHandler: 0
|
activeInputHandler: 0
|
||||||
|
windowsGamepadBackendHint: 0
|
||||||
cloudProjectId:
|
cloudProjectId:
|
||||||
framebufferDepthMemorylessMode: 0
|
framebufferDepthMemorylessMode: 0
|
||||||
qualitySettingsNames: []
|
qualitySettingsNames: []
|
||||||
|
|||||||
@@ -6,114 +6,6 @@ QualitySettings:
|
|||||||
serializedVersion: 5
|
serializedVersion: 5
|
||||||
m_CurrentQuality: 0
|
m_CurrentQuality: 0
|
||||||
m_QualitySettings:
|
m_QualitySettings:
|
||||||
- serializedVersion: 2
|
|
||||||
name: Low
|
|
||||||
pixelLightCount: 0
|
|
||||||
shadows: 0
|
|
||||||
shadowResolution: 0
|
|
||||||
shadowProjection: 1
|
|
||||||
shadowCascades: 1
|
|
||||||
shadowDistance: 20
|
|
||||||
shadowNearPlaneOffset: 3
|
|
||||||
shadowCascade2Split: 0.33333334
|
|
||||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
|
||||||
shadowmaskMode: 0
|
|
||||||
skinWeights: 2
|
|
||||||
textureQuality: 0
|
|
||||||
anisotropicTextures: 0
|
|
||||||
antiAliasing: 0
|
|
||||||
softParticles: 0
|
|
||||||
softVegetation: 0
|
|
||||||
realtimeReflectionProbes: 0
|
|
||||||
billboardsFaceCameraPosition: 0
|
|
||||||
vSyncCount: 0
|
|
||||||
lodBias: 0.4
|
|
||||||
maximumLODLevel: 0
|
|
||||||
streamingMipmapsActive: 0
|
|
||||||
streamingMipmapsAddAllCameras: 1
|
|
||||||
streamingMipmapsMemoryBudget: 512
|
|
||||||
streamingMipmapsRenderersPerFrame: 512
|
|
||||||
streamingMipmapsMaxLevelReduction: 2
|
|
||||||
streamingMipmapsMaxFileIORequests: 1024
|
|
||||||
particleRaycastBudget: 16
|
|
||||||
asyncUploadTimeSlice: 2
|
|
||||||
asyncUploadBufferSize: 16
|
|
||||||
asyncUploadPersistentBuffer: 1
|
|
||||||
resolutionScalingFixedDPIFactor: 1
|
|
||||||
customRenderPipeline: {fileID: 11400000, guid: f14ceadaeba9f6c47ae9db7e84441a57, type: 2}
|
|
||||||
excludedTargetPlatforms: []
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: Medium
|
|
||||||
pixelLightCount: 1
|
|
||||||
shadows: 1
|
|
||||||
shadowResolution: 0
|
|
||||||
shadowProjection: 1
|
|
||||||
shadowCascades: 1
|
|
||||||
shadowDistance: 20
|
|
||||||
shadowNearPlaneOffset: 3
|
|
||||||
shadowCascade2Split: 0.33333334
|
|
||||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
|
||||||
shadowmaskMode: 0
|
|
||||||
skinWeights: 2
|
|
||||||
textureQuality: 0
|
|
||||||
anisotropicTextures: 1
|
|
||||||
antiAliasing: 0
|
|
||||||
softParticles: 0
|
|
||||||
softVegetation: 0
|
|
||||||
realtimeReflectionProbes: 0
|
|
||||||
billboardsFaceCameraPosition: 0
|
|
||||||
vSyncCount: 0
|
|
||||||
lodBias: 0.7
|
|
||||||
maximumLODLevel: 0
|
|
||||||
streamingMipmapsActive: 0
|
|
||||||
streamingMipmapsAddAllCameras: 1
|
|
||||||
streamingMipmapsMemoryBudget: 512
|
|
||||||
streamingMipmapsRenderersPerFrame: 512
|
|
||||||
streamingMipmapsMaxLevelReduction: 2
|
|
||||||
streamingMipmapsMaxFileIORequests: 1024
|
|
||||||
particleRaycastBudget: 64
|
|
||||||
asyncUploadTimeSlice: 2
|
|
||||||
asyncUploadBufferSize: 16
|
|
||||||
asyncUploadPersistentBuffer: 1
|
|
||||||
resolutionScalingFixedDPIFactor: 1
|
|
||||||
customRenderPipeline: {fileID: 11400000, guid: f14ceadaeba9f6c47ae9db7e84441a57, type: 2}
|
|
||||||
excludedTargetPlatforms: []
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: High
|
|
||||||
pixelLightCount: 2
|
|
||||||
shadows: 2
|
|
||||||
shadowResolution: 1
|
|
||||||
shadowProjection: 1
|
|
||||||
shadowCascades: 2
|
|
||||||
shadowDistance: 40
|
|
||||||
shadowNearPlaneOffset: 3
|
|
||||||
shadowCascade2Split: 0.33333334
|
|
||||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
|
||||||
shadowmaskMode: 1
|
|
||||||
skinWeights: 2
|
|
||||||
textureQuality: 0
|
|
||||||
anisotropicTextures: 1
|
|
||||||
antiAliasing: 0
|
|
||||||
softParticles: 0
|
|
||||||
softVegetation: 1
|
|
||||||
realtimeReflectionProbes: 1
|
|
||||||
billboardsFaceCameraPosition: 1
|
|
||||||
vSyncCount: 0
|
|
||||||
lodBias: 1
|
|
||||||
maximumLODLevel: 0
|
|
||||||
streamingMipmapsActive: 0
|
|
||||||
streamingMipmapsAddAllCameras: 1
|
|
||||||
streamingMipmapsMemoryBudget: 512
|
|
||||||
streamingMipmapsRenderersPerFrame: 512
|
|
||||||
streamingMipmapsMaxLevelReduction: 2
|
|
||||||
streamingMipmapsMaxFileIORequests: 1024
|
|
||||||
particleRaycastBudget: 256
|
|
||||||
asyncUploadTimeSlice: 2
|
|
||||||
asyncUploadBufferSize: 16
|
|
||||||
asyncUploadPersistentBuffer: 1
|
|
||||||
resolutionScalingFixedDPIFactor: 1
|
|
||||||
customRenderPipeline: {fileID: 11400000, guid: f14ceadaeba9f6c47ae9db7e84441a57, type: 2}
|
|
||||||
excludedTargetPlatforms: []
|
|
||||||
- serializedVersion: 2
|
- serializedVersion: 2
|
||||||
name: Ultra
|
name: Ultra
|
||||||
pixelLightCount: 4
|
pixelLightCount: 4
|
||||||
@@ -151,18 +43,18 @@ QualitySettings:
|
|||||||
customRenderPipeline: {fileID: 11400000, guid: f14ceadaeba9f6c47ae9db7e84441a57, type: 2}
|
customRenderPipeline: {fileID: 11400000, guid: f14ceadaeba9f6c47ae9db7e84441a57, type: 2}
|
||||||
excludedTargetPlatforms: []
|
excludedTargetPlatforms: []
|
||||||
m_PerPlatformDefaultQuality:
|
m_PerPlatformDefaultQuality:
|
||||||
Android: 1
|
Android: 0
|
||||||
GameCoreScarlett: 3
|
GameCoreScarlett: 0
|
||||||
GameCoreXboxOne: 3
|
GameCoreXboxOne: 0
|
||||||
Lumin: 3
|
Lumin: 0
|
||||||
Nintendo Switch: 3
|
Nintendo Switch: 0
|
||||||
PS4: 3
|
PS4: 0
|
||||||
PS5: 3
|
PS5: 0
|
||||||
Server: 0
|
Server: 0
|
||||||
Stadia: 3
|
Stadia: 0
|
||||||
Standalone: 3
|
Standalone: 0
|
||||||
WebGL: 2
|
WebGL: 0
|
||||||
Windows Store Apps: 3
|
Windows Store Apps: 0
|
||||||
XboxOne: 3
|
XboxOne: 0
|
||||||
iPhone: 1
|
iPhone: 0
|
||||||
tvOS: 1
|
tvOS: 0
|
||||||
|
|||||||
@@ -41,3 +41,6 @@ TagManager:
|
|||||||
- name: Default
|
- name: Default
|
||||||
uniqueID: 0
|
uniqueID: 0
|
||||||
locked: 0
|
locked: 0
|
||||||
|
- name: Kezdohelyszin
|
||||||
|
uniqueID: 2685889865
|
||||||
|
locked: 0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
# findthesource
|
# findthesource
|
||||||
Find the source (Találd meg a forrást) nevű játék digitális implementációja Unity-ben
|
Find the source nevű játék digitális implementációja Unity-ben
|
||||||
|
|||||||
@@ -1,46 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!162 &1
|
|
||||||
EditorUserSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 4
|
|
||||||
m_ConfigSettings:
|
|
||||||
RecentlyUsedSceneGuid-0:
|
|
||||||
value: 0200045e07010a5f5d5c542341765d4213164a7f797d7e347c7e1c60bab7656a
|
|
||||||
flags: 0
|
|
||||||
RecentlyUsedSceneGuid-1:
|
|
||||||
value: 07040753500359095b580a2641275e41444f19297c2d2363752d4a35b1b46339
|
|
||||||
flags: 0
|
|
||||||
RecentlyUsedSceneGuid-2:
|
|
||||||
value: 57500d5456505f0b5d085f2714255944104f1d797d717e3278711f61b3e6626d
|
|
||||||
flags: 0
|
|
||||||
RecentlyUsedSceneGuid-3:
|
|
||||||
value: 515250075c0c595e5f5a5e71122159444e4e4a2f7a7d7f602f284d66b4b76661
|
|
||||||
flags: 0
|
|
||||||
UnityRemoteCompression:
|
|
||||||
value: 29617121
|
|
||||||
flags: 0
|
|
||||||
UnityRemoteDevice:
|
|
||||||
value: 530104565d04580b405e5c7244770b43464749097d70766108
|
|
||||||
flags: 0
|
|
||||||
UnityRemoteResolution:
|
|
||||||
value: 275e4308165c135e
|
|
||||||
flags: 0
|
|
||||||
vcSharedLogLevel:
|
|
||||||
value: 0d5e400f0650
|
|
||||||
flags: 0
|
|
||||||
m_VCAutomaticAdd: 1
|
|
||||||
m_VCDebugCom: 0
|
|
||||||
m_VCDebugCmd: 0
|
|
||||||
m_VCDebugOut: 0
|
|
||||||
m_SemanticMergeMode: 2
|
|
||||||
m_DesiredImportWorkerCount: 3
|
|
||||||
m_StandbyImportWorkerCount: 2
|
|
||||||
m_IdleImportWorkerShutdownDelay: 60000
|
|
||||||
m_VCShowFailedCheckout: 1
|
|
||||||
m_VCOverwriteFailedCheckoutAssets: 1
|
|
||||||
m_VCProjectOverlayIcons: 1
|
|
||||||
m_VCHierarchyOverlayIcons: 1
|
|
||||||
m_VCOtherOverlayIcons: 1
|
|
||||||
m_VCAllowAsyncUpdate: 1
|
|
||||||
m_ArtifactGarbageCollection: 1
|
|
||||||
@@ -1,901 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &1
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 3}
|
|
||||||
- {fileID: 12}
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 30
|
|
||||||
width: 1470
|
|
||||||
height: 771
|
|
||||||
m_MinSize: {x: 300, y: 200}
|
|
||||||
m_MaxSize: {x: 24288, y: 16192}
|
|
||||||
vertical: 0
|
|
||||||
controlID: 45
|
|
||||||
--- !u!114 &2
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12013, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Scene
|
|
||||||
m_Image: {fileID: 2593428753322112591, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 238
|
|
||||||
y: 95
|
|
||||||
width: 848
|
|
||||||
height: 446.5
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData:
|
|
||||||
- dockPosition: 0
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: -101, y: -26}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 3
|
|
||||||
id: Tool Settings
|
|
||||||
index: 0
|
|
||||||
layout: 1
|
|
||||||
- dockPosition: 0
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: -141, y: 149}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 1
|
|
||||||
id: unity-grid-and-snap-toolbar
|
|
||||||
index: 1
|
|
||||||
layout: 1
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: unity-scene-view-toolbar
|
|
||||||
index: 0
|
|
||||||
layout: 1
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 1
|
|
||||||
id: unity-search-toolbar
|
|
||||||
index: 1
|
|
||||||
layout: 1
|
|
||||||
- dockPosition: 0
|
|
||||||
containerId: overlay-container--left
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: unity-transform-toolbar
|
|
||||||
index: 0
|
|
||||||
layout: 2
|
|
||||||
- dockPosition: 0
|
|
||||||
containerId: overlay-container--left
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: 0, y: 197}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: unity-component-tools
|
|
||||||
index: 1
|
|
||||||
layout: 2
|
|
||||||
- dockPosition: 0
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: 67.5, y: 86}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Orientation
|
|
||||||
index: 0
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Light Settings
|
|
||||||
index: 0
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Camera
|
|
||||||
index: 1
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Cloth Constraints
|
|
||||||
index: 2
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Cloth Collisions
|
|
||||||
index: 3
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Navmesh Display
|
|
||||||
index: 4
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Agent Display
|
|
||||||
index: 5
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Obstacle Display
|
|
||||||
index: 6
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Occlusion Culling
|
|
||||||
index: 7
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Physics Debugger
|
|
||||||
index: 8
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Scene Visibility
|
|
||||||
index: 9
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Particles
|
|
||||||
index: 10
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Tilemap
|
|
||||||
index: 11
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Tilemap Palette Helper
|
|
||||||
index: 12
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Open Tile Palette
|
|
||||||
index: 2
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Tilemap Focus
|
|
||||||
index: 3
|
|
||||||
layout: 4
|
|
||||||
m_WindowGUID: cc27987af1a868c49b0894db9c0f5429
|
|
||||||
m_Gizmos: 1
|
|
||||||
m_OverrideSceneCullingMask: 6917529027641081856
|
|
||||||
m_SceneIsLit: 1
|
|
||||||
m_SceneLighting: 1
|
|
||||||
m_2DMode: 1
|
|
||||||
m_isRotationLocked: 0
|
|
||||||
m_PlayAudio: 0
|
|
||||||
m_AudioPlay: 0
|
|
||||||
m_Position:
|
|
||||||
m_Target: {x: -5.112349, y: -0.030514337, z: -0.533039}
|
|
||||||
speed: 2
|
|
||||||
m_Value: {x: -5.112349, y: -0.030514337, z: -0.533039}
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_CameraMode:
|
|
||||||
drawMode: 0
|
|
||||||
name: Shaded
|
|
||||||
section: Shading Mode
|
|
||||||
m_ValidateTrueMetals: 0
|
|
||||||
m_DoValidateTrueMetals: 0
|
|
||||||
m_ExposureSliderValue: 0
|
|
||||||
m_SceneViewState:
|
|
||||||
m_AlwaysRefresh: 0
|
|
||||||
showFog: 1
|
|
||||||
showSkybox: 1
|
|
||||||
showFlares: 1
|
|
||||||
showImageEffects: 1
|
|
||||||
showParticleSystems: 1
|
|
||||||
showVisualEffectGraphs: 1
|
|
||||||
m_FxEnabled: 1
|
|
||||||
m_Grid:
|
|
||||||
xGrid:
|
|
||||||
m_Fade:
|
|
||||||
m_Target: 0
|
|
||||||
speed: 2
|
|
||||||
m_Value: 0
|
|
||||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
|
||||||
m_Size: {x: 0, y: 0}
|
|
||||||
yGrid:
|
|
||||||
m_Fade:
|
|
||||||
m_Target: 0
|
|
||||||
speed: 2
|
|
||||||
m_Value: 0
|
|
||||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
|
||||||
m_Size: {x: 1, y: 1}
|
|
||||||
zGrid:
|
|
||||||
m_Fade:
|
|
||||||
m_Target: 1
|
|
||||||
speed: 2
|
|
||||||
m_Value: 1
|
|
||||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
|
||||||
m_Size: {x: 1, y: 1}
|
|
||||||
m_ShowGrid: 1
|
|
||||||
m_GridAxis: 1
|
|
||||||
m_gridOpacity: 0.5
|
|
||||||
m_Rotation:
|
|
||||||
m_Target: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
speed: 2
|
|
||||||
m_Value: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_Size:
|
|
||||||
m_Target: 10.906873
|
|
||||||
speed: 2
|
|
||||||
m_Value: 10.906873
|
|
||||||
m_Ortho:
|
|
||||||
m_Target: 1
|
|
||||||
speed: 2
|
|
||||||
m_Value: 1
|
|
||||||
m_CameraSettings:
|
|
||||||
m_Speed: 1
|
|
||||||
m_SpeedNormalized: 0.5
|
|
||||||
m_SpeedMin: 0.001
|
|
||||||
m_SpeedMax: 2
|
|
||||||
m_EasingEnabled: 1
|
|
||||||
m_EasingDuration: 0.4
|
|
||||||
m_AccelerationEnabled: 1
|
|
||||||
m_FieldOfViewHorizontalOrVertical: 60
|
|
||||||
m_NearClip: 0.03
|
|
||||||
m_FarClip: 10000
|
|
||||||
m_DynamicClip: 1
|
|
||||||
m_OcclusionCulling: 0
|
|
||||||
m_LastSceneViewRotation: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
|
|
||||||
m_LastSceneViewOrtho: 0
|
|
||||||
m_ReplacementShader: {fileID: 0}
|
|
||||||
m_ReplacementString:
|
|
||||||
m_SceneVisActive: 1
|
|
||||||
m_LastLockedObject: {fileID: 0}
|
|
||||||
m_ViewIsLockedToObject: 0
|
|
||||||
--- !u!114 &3
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 4}
|
|
||||||
- {fileID: 9}
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1088
|
|
||||||
height: 771
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 16192, y: 16192}
|
|
||||||
vertical: 1
|
|
||||||
controlID: 46
|
|
||||||
--- !u!114 &4
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 5}
|
|
||||||
- {fileID: 7}
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1088
|
|
||||||
height: 467.5
|
|
||||||
m_MinSize: {x: 200, y: 100}
|
|
||||||
m_MaxSize: {x: 16192, y: 8096}
|
|
||||||
vertical: 0
|
|
||||||
controlID: 47
|
|
||||||
--- !u!114 &5
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 238
|
|
||||||
height: 467.5
|
|
||||||
m_MinSize: {x: 201, y: 221}
|
|
||||||
m_MaxSize: {x: 4001, y: 4021}
|
|
||||||
m_ActualView: {fileID: 6}
|
|
||||||
m_Panes:
|
|
||||||
- {fileID: 6}
|
|
||||||
m_Selected: 0
|
|
||||||
m_LastSelected: 0
|
|
||||||
--- !u!114 &6
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12061, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Hierarchy
|
|
||||||
m_Image: {fileID: 7966133145522015247, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 95
|
|
||||||
width: 237
|
|
||||||
height: 446.5
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData: []
|
|
||||||
m_SceneHierarchy:
|
|
||||||
m_TreeViewState:
|
|
||||||
scrollPos: {x: 0, y: 0}
|
|
||||||
m_SelectedIDs: 021c0000
|
|
||||||
m_LastClickedID: 0
|
|
||||||
m_ExpandedIDs: 2afbffff
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 0
|
|
||||||
m_ClientGUIView: {fileID: 5}
|
|
||||||
m_SearchString:
|
|
||||||
m_ExpandedScenes: []
|
|
||||||
m_CurrenRootInstanceID: 0
|
|
||||||
m_LockTracker:
|
|
||||||
m_IsLocked: 0
|
|
||||||
m_CurrentSortingName: TransformSorting
|
|
||||||
m_WindowGUID: 4c969a2b90040154d917609493e03593
|
|
||||||
--- !u!114 &7
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name: SceneView
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 238
|
|
||||||
y: 0
|
|
||||||
width: 850
|
|
||||||
height: 467.5
|
|
||||||
m_MinSize: {x: 202, y: 221}
|
|
||||||
m_MaxSize: {x: 4002, y: 4021}
|
|
||||||
m_ActualView: {fileID: 2}
|
|
||||||
m_Panes:
|
|
||||||
- {fileID: 2}
|
|
||||||
- {fileID: 8}
|
|
||||||
m_Selected: 0
|
|
||||||
m_LastSelected: 1
|
|
||||||
--- !u!114 &8
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Game
|
|
||||||
m_Image: {fileID: -6423792434712278376, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 238
|
|
||||||
y: 95
|
|
||||||
width: 848
|
|
||||||
height: 446.5
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData: []
|
|
||||||
m_SerializedViewNames: []
|
|
||||||
m_SerializedViewValues: []
|
|
||||||
m_PlayModeViewName: GameView
|
|
||||||
m_ShowGizmos: 0
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
m_TargetSize: {x: 848, y: 425.5}
|
|
||||||
m_TextureFilterMode: 0
|
|
||||||
m_TextureHideFlags: 61
|
|
||||||
m_RenderIMGUI: 1
|
|
||||||
m_EnterPlayModeBehavior: 0
|
|
||||||
m_UseMipMap: 0
|
|
||||||
m_VSyncEnabled: 0
|
|
||||||
m_Gizmos: 0
|
|
||||||
m_Stats: 0
|
|
||||||
m_SelectedSizes: 00000000000000000000000000000000000000000000000000000000000000000000000000000000
|
|
||||||
m_ZoomArea:
|
|
||||||
m_HRangeLocked: 0
|
|
||||||
m_VRangeLocked: 0
|
|
||||||
hZoomLockedByDefault: 0
|
|
||||||
vZoomLockedByDefault: 0
|
|
||||||
m_HBaseRangeMin: -212
|
|
||||||
m_HBaseRangeMax: 212
|
|
||||||
m_VBaseRangeMin: -106.375
|
|
||||||
m_VBaseRangeMax: 106.375
|
|
||||||
m_HAllowExceedBaseRangeMin: 1
|
|
||||||
m_HAllowExceedBaseRangeMax: 1
|
|
||||||
m_VAllowExceedBaseRangeMin: 1
|
|
||||||
m_VAllowExceedBaseRangeMax: 1
|
|
||||||
m_ScaleWithWindow: 0
|
|
||||||
m_HSlider: 0
|
|
||||||
m_VSlider: 0
|
|
||||||
m_IgnoreScrollWheelUntilClicked: 0
|
|
||||||
m_EnableMouseInput: 0
|
|
||||||
m_EnableSliderZoomHorizontal: 0
|
|
||||||
m_EnableSliderZoomVertical: 0
|
|
||||||
m_UniformScale: 1
|
|
||||||
m_UpDirection: 1
|
|
||||||
m_DrawArea:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 21
|
|
||||||
width: 848
|
|
||||||
height: 425.5
|
|
||||||
m_Scale: {x: 2, y: 2}
|
|
||||||
m_Translation: {x: 424, y: 212.75}
|
|
||||||
m_MarginLeft: 0
|
|
||||||
m_MarginRight: 0
|
|
||||||
m_MarginTop: 0
|
|
||||||
m_MarginBottom: 0
|
|
||||||
m_LastShownAreaInsideMargins:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: -212
|
|
||||||
y: -106.375
|
|
||||||
width: 424
|
|
||||||
height: 212.75
|
|
||||||
m_MinimalGUI: 1
|
|
||||||
m_defaultScale: 2
|
|
||||||
m_LastWindowPixelSize: {x: 1696, y: 893}
|
|
||||||
m_ClearInEditMode: 1
|
|
||||||
m_NoCameraWarning: 1
|
|
||||||
m_LowResolutionForAspectRatios: 01000000000000000000
|
|
||||||
m_XRRenderMode: 0
|
|
||||||
m_RenderTexture: {fileID: 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: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name: ProjectBrowser
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 467.5
|
|
||||||
width: 1088
|
|
||||||
height: 303.5
|
|
||||||
m_MinSize: {x: 231, y: 271}
|
|
||||||
m_MaxSize: {x: 10001, y: 10021}
|
|
||||||
m_ActualView: {fileID: 10}
|
|
||||||
m_Panes:
|
|
||||||
- {fileID: 10}
|
|
||||||
- {fileID: 11}
|
|
||||||
m_Selected: 0
|
|
||||||
m_LastSelected: 1
|
|
||||||
--- !u!114 &10
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12014, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 230, y: 250}
|
|
||||||
m_MaxSize: {x: 10000, y: 10000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Project
|
|
||||||
m_Image: {fileID: -5467254957812901981, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 562.5
|
|
||||||
width: 1087
|
|
||||||
height: 282.5
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData: []
|
|
||||||
m_SearchFilter:
|
|
||||||
m_NameFilter:
|
|
||||||
m_ClassNames: []
|
|
||||||
m_AssetLabels: []
|
|
||||||
m_AssetBundleNames: []
|
|
||||||
m_VersionControlStates: []
|
|
||||||
m_SoftLockControlStates: []
|
|
||||||
m_ReferencingInstanceIDs:
|
|
||||||
m_SceneHandles:
|
|
||||||
m_ShowAllHits: 0
|
|
||||||
m_SkipHidden: 0
|
|
||||||
m_SearchArea: 1
|
|
||||||
m_Folders:
|
|
||||||
- Assets/Scripts
|
|
||||||
m_Globs: []
|
|
||||||
m_OriginalText:
|
|
||||||
m_ViewMode: 1
|
|
||||||
m_StartGridSize: 66
|
|
||||||
m_LastFolders:
|
|
||||||
- Assets/Scripts
|
|
||||||
m_LastFoldersGridSize: 66
|
|
||||||
m_LastProjectPath: /Users/bance/Documents/GitHub/findthesource
|
|
||||||
m_LockTracker:
|
|
||||||
m_IsLocked: 0
|
|
||||||
m_FolderTreeState:
|
|
||||||
scrollPos: {x: 0, y: 0}
|
|
||||||
m_SelectedIDs: 42790000
|
|
||||||
m_LastClickedID: 31042
|
|
||||||
m_ExpandedIDs: 000000002479000000ca9a3bffffff7f
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 1
|
|
||||||
m_ClientGUIView: {fileID: 9}
|
|
||||||
m_SearchString:
|
|
||||||
m_CreateAssetUtility:
|
|
||||||
m_EndAction: {fileID: 0}
|
|
||||||
m_InstanceID: 0
|
|
||||||
m_Path:
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_ResourceFile:
|
|
||||||
m_AssetTreeState:
|
|
||||||
scrollPos: {x: 0, y: 0}
|
|
||||||
m_SelectedIDs:
|
|
||||||
m_LastClickedID: 0
|
|
||||||
m_ExpandedIDs: 0000000024790000
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 1
|
|
||||||
m_ClientGUIView: {fileID: 0}
|
|
||||||
m_SearchString:
|
|
||||||
m_CreateAssetUtility:
|
|
||||||
m_EndAction: {fileID: 0}
|
|
||||||
m_InstanceID: 0
|
|
||||||
m_Path:
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_ResourceFile:
|
|
||||||
m_ListAreaState:
|
|
||||||
m_SelectedInstanceIDs: 021c0000
|
|
||||||
m_LastClickedInstanceID: 7170
|
|
||||||
m_HadKeyboardFocusLastEvent: 1
|
|
||||||
m_ExpandedInstanceIDs: c623000000000000
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 1
|
|
||||||
m_ClientGUIView: {fileID: 0}
|
|
||||||
m_CreateAssetUtility:
|
|
||||||
m_EndAction: {fileID: 0}
|
|
||||||
m_InstanceID: 0
|
|
||||||
m_Path:
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_ResourceFile:
|
|
||||||
m_NewAssetIndexInList: -1
|
|
||||||
m_ScrollPosition: {x: 0, y: 0}
|
|
||||||
m_GridSize: 66
|
|
||||||
m_SkipHiddenPackages: 0
|
|
||||||
m_DirectoriesAreaWidth: 193
|
|
||||||
--- !u!114 &11
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12003, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 100, y: 100}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Console
|
|
||||||
m_Image: {fileID: -4327648978806127646, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 562.5
|
|
||||||
width: 1087
|
|
||||||
height: 282.5
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData: []
|
|
||||||
--- !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: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name: InspectorWindow
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 1088
|
|
||||||
y: 0
|
|
||||||
width: 382
|
|
||||||
height: 771
|
|
||||||
m_MinSize: {x: 276, y: 71}
|
|
||||||
m_MaxSize: {x: 4001, y: 4021}
|
|
||||||
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}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12019, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 275, y: 50}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Inspector
|
|
||||||
m_Image: {fileID: -440750813802333266, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 1088
|
|
||||||
y: 95
|
|
||||||
width: 381
|
|
||||||
height: 750
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData: []
|
|
||||||
m_ObjectsLockedBeforeSerialization: []
|
|
||||||
m_InstanceIDsLockedBeforeSerialization:
|
|
||||||
m_PreviewResizer:
|
|
||||||
m_CachedPref: 160
|
|
||||||
m_ControlHash: -371814159
|
|
||||||
m_PrefName: Preview_InspectorPreview
|
|
||||||
m_LastInspectedObjectInstanceID: -1
|
|
||||||
m_LastVerticalScrollValue: 0
|
|
||||||
m_GlobalObjectId:
|
|
||||||
m_InspectorMode: 0
|
|
||||||
m_LockTracker:
|
|
||||||
m_IsLocked: 0
|
|
||||||
m_PreviewWindow: {fileID: 0}
|
|
||||||
@@ -1,996 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &1
|
|
||||||
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: 12004, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_PixelRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 65
|
|
||||||
width: 1470
|
|
||||||
height: 817
|
|
||||||
m_ShowMode: 4
|
|
||||||
m_Title: Hierarchy
|
|
||||||
m_RootView: {fileID: 2}
|
|
||||||
m_MinSize: {x: 875, y: 300}
|
|
||||||
m_MaxSize: {x: 10000, y: 10000}
|
|
||||||
m_Maximized: 1
|
|
||||||
--- !u!114 &2
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12008, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 3}
|
|
||||||
- {fileID: 5}
|
|
||||||
- {fileID: 4}
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1470
|
|
||||||
height: 817
|
|
||||||
m_MinSize: {x: 875, y: 300}
|
|
||||||
m_MaxSize: {x: 10000, y: 10000}
|
|
||||||
m_UseTopView: 1
|
|
||||||
m_TopViewHeight: 30
|
|
||||||
m_UseBottomView: 1
|
|
||||||
m_BottomViewHeight: 20
|
|
||||||
--- !u!114 &3
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12011, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1470
|
|
||||||
height: 30
|
|
||||||
m_MinSize: {x: 0, y: 0}
|
|
||||||
m_MaxSize: {x: 0, y: 0}
|
|
||||||
m_LastLoadedLayoutName:
|
|
||||||
--- !u!114 &4
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12042, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 797
|
|
||||||
width: 1470
|
|
||||||
height: 20
|
|
||||||
m_MinSize: {x: 0, y: 0}
|
|
||||||
m_MaxSize: {x: 0, y: 0}
|
|
||||||
--- !u!114 &5
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 6}
|
|
||||||
- {fileID: 11}
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 30
|
|
||||||
width: 1470
|
|
||||||
height: 767
|
|
||||||
m_MinSize: {x: 300, y: 200}
|
|
||||||
m_MaxSize: {x: 24288, y: 16192}
|
|
||||||
vertical: 0
|
|
||||||
controlID: 60
|
|
||||||
--- !u!114 &6
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 7}
|
|
||||||
- {fileID: 10}
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1134.5
|
|
||||||
height: 767
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 16192, y: 16192}
|
|
||||||
vertical: 1
|
|
||||||
controlID: 61
|
|
||||||
--- !u!114 &7
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 8}
|
|
||||||
- {fileID: 9}
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1134.5
|
|
||||||
height: 559
|
|
||||||
m_MinSize: {x: 200, y: 100}
|
|
||||||
m_MaxSize: {x: 16192, y: 8096}
|
|
||||||
vertical: 0
|
|
||||||
controlID: 62
|
|
||||||
--- !u!114 &8
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 160.5
|
|
||||||
height: 559
|
|
||||||
m_MinSize: {x: 201, y: 221}
|
|
||||||
m_MaxSize: {x: 4001, y: 4021}
|
|
||||||
m_ActualView: {fileID: 13}
|
|
||||||
m_Panes:
|
|
||||||
- {fileID: 13}
|
|
||||||
m_Selected: 0
|
|
||||||
m_LastSelected: 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: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name: GameView
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 160.5
|
|
||||||
y: 0
|
|
||||||
width: 974
|
|
||||||
height: 559
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_ActualView: {fileID: 12}
|
|
||||||
m_Panes:
|
|
||||||
- {fileID: 14}
|
|
||||||
- {fileID: 12}
|
|
||||||
m_Selected: 1
|
|
||||||
m_LastSelected: 0
|
|
||||||
--- !u!114 &10
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name: ProjectBrowser
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 559
|
|
||||||
width: 1134.5
|
|
||||||
height: 208
|
|
||||||
m_MinSize: {x: 231, y: 271}
|
|
||||||
m_MaxSize: {x: 10001, y: 10021}
|
|
||||||
m_ActualView: {fileID: 15}
|
|
||||||
m_Panes:
|
|
||||||
- {fileID: 15}
|
|
||||||
m_Selected: 0
|
|
||||||
m_LastSelected: 0
|
|
||||||
--- !u!114 &11
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name: InspectorWindow
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 1134.5
|
|
||||||
y: 0
|
|
||||||
width: 335.5
|
|
||||||
height: 767
|
|
||||||
m_MinSize: {x: 275, y: 50}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_ActualView: {fileID: 17}
|
|
||||||
m_Panes:
|
|
||||||
- {fileID: 17}
|
|
||||||
- {fileID: 16}
|
|
||||||
m_Selected: 0
|
|
||||||
m_LastSelected: 1
|
|
||||||
--- !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: 1
|
|
||||||
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Game
|
|
||||||
m_Image: {fileID: 4621777727084837110, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 160.5
|
|
||||||
y: 95
|
|
||||||
width: 972
|
|
||||||
height: 538
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData: []
|
|
||||||
m_SerializedViewNames: []
|
|
||||||
m_SerializedViewValues: []
|
|
||||||
m_PlayModeViewName: GameView
|
|
||||||
m_ShowGizmos: 0
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
m_TargetSize: {x: 972, y: 517}
|
|
||||||
m_TextureFilterMode: 0
|
|
||||||
m_TextureHideFlags: 61
|
|
||||||
m_RenderIMGUI: 1
|
|
||||||
m_EnterPlayModeBehavior: 0
|
|
||||||
m_UseMipMap: 0
|
|
||||||
m_VSyncEnabled: 0
|
|
||||||
m_Gizmos: 0
|
|
||||||
m_Stats: 0
|
|
||||||
m_SelectedSizes: 00000000000000000000000000000000000000000000000000000000000000000000000000000000
|
|
||||||
m_ZoomArea:
|
|
||||||
m_HRangeLocked: 0
|
|
||||||
m_VRangeLocked: 0
|
|
||||||
hZoomLockedByDefault: 0
|
|
||||||
vZoomLockedByDefault: 0
|
|
||||||
m_HBaseRangeMin: -243
|
|
||||||
m_HBaseRangeMax: 243
|
|
||||||
m_VBaseRangeMin: -129.25
|
|
||||||
m_VBaseRangeMax: 129.25
|
|
||||||
m_HAllowExceedBaseRangeMin: 1
|
|
||||||
m_HAllowExceedBaseRangeMax: 1
|
|
||||||
m_VAllowExceedBaseRangeMin: 1
|
|
||||||
m_VAllowExceedBaseRangeMax: 1
|
|
||||||
m_ScaleWithWindow: 0
|
|
||||||
m_HSlider: 0
|
|
||||||
m_VSlider: 0
|
|
||||||
m_IgnoreScrollWheelUntilClicked: 0
|
|
||||||
m_EnableMouseInput: 1
|
|
||||||
m_EnableSliderZoomHorizontal: 0
|
|
||||||
m_EnableSliderZoomVertical: 0
|
|
||||||
m_UniformScale: 1
|
|
||||||
m_UpDirection: 1
|
|
||||||
m_DrawArea:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 21
|
|
||||||
width: 972
|
|
||||||
height: 517
|
|
||||||
m_Scale: {x: 2, y: 2}
|
|
||||||
m_Translation: {x: 486, y: 258.5}
|
|
||||||
m_MarginLeft: 0
|
|
||||||
m_MarginRight: 0
|
|
||||||
m_MarginTop: 0
|
|
||||||
m_MarginBottom: 0
|
|
||||||
m_LastShownAreaInsideMargins:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: -243
|
|
||||||
y: -129.25
|
|
||||||
width: 486
|
|
||||||
height: 258.5
|
|
||||||
m_MinimalGUI: 1
|
|
||||||
m_defaultScale: 2
|
|
||||||
m_LastWindowPixelSize: {x: 1944, y: 1076}
|
|
||||||
m_ClearInEditMode: 1
|
|
||||||
m_NoCameraWarning: 1
|
|
||||||
m_LowResolutionForAspectRatios: 01000000000000000000
|
|
||||||
m_XRRenderMode: 0
|
|
||||||
m_RenderTexture: {fileID: 0}
|
|
||||||
--- !u!114 &13
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12061, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Hierarchy
|
|
||||||
m_Image: {fileID: -3734745235275155857, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 95
|
|
||||||
width: 159.5
|
|
||||||
height: 538
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData: []
|
|
||||||
m_SceneHierarchy:
|
|
||||||
m_TreeViewState:
|
|
||||||
scrollPos: {x: 0, y: 0}
|
|
||||||
m_SelectedIDs:
|
|
||||||
m_LastClickedID: 0
|
|
||||||
m_ExpandedIDs: 02fbffff
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 0
|
|
||||||
m_ClientGUIView: {fileID: 8}
|
|
||||||
m_SearchString:
|
|
||||||
m_ExpandedScenes: []
|
|
||||||
m_CurrenRootInstanceID: 0
|
|
||||||
m_LockTracker:
|
|
||||||
m_IsLocked: 0
|
|
||||||
m_CurrentSortingName: TransformSorting
|
|
||||||
m_WindowGUID: 4c969a2b90040154d917609493e03593
|
|
||||||
--- !u!114 &14
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12013, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Scene
|
|
||||||
m_Image: {fileID: 8634526014445323508, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 160.5
|
|
||||||
y: 95
|
|
||||||
width: 972
|
|
||||||
height: 538
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData:
|
|
||||||
- dockPosition: 0
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: -98, y: -26}
|
|
||||||
snapCorner: 3
|
|
||||||
id: Tool Settings
|
|
||||||
index: 0
|
|
||||||
layout: 1
|
|
||||||
- dockPosition: 0
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: -141, y: 149}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 1
|
|
||||||
id: unity-grid-and-snap-toolbar
|
|
||||||
index: 1
|
|
||||||
layout: 1
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: unity-scene-view-toolbar
|
|
||||||
index: 0
|
|
||||||
layout: 1
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 1
|
|
||||||
id: unity-search-toolbar
|
|
||||||
index: 1
|
|
||||||
layout: 1
|
|
||||||
- dockPosition: 0
|
|
||||||
containerId: overlay-container--left
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: unity-transform-toolbar
|
|
||||||
index: 0
|
|
||||||
layout: 2
|
|
||||||
- dockPosition: 0
|
|
||||||
containerId: overlay-container--left
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: 0, y: 197}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: unity-component-tools
|
|
||||||
index: 1
|
|
||||||
layout: 2
|
|
||||||
- dockPosition: 0
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 1
|
|
||||||
snapOffset: {x: 67.5, y: 86}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Orientation
|
|
||||||
index: 0
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Light Settings
|
|
||||||
index: 0
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Camera
|
|
||||||
index: 1
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Cloth Constraints
|
|
||||||
index: 2
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Cloth Collisions
|
|
||||||
index: 3
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Navmesh Display
|
|
||||||
index: 4
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Agent Display
|
|
||||||
index: 5
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Obstacle Display
|
|
||||||
index: 6
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Occlusion Culling
|
|
||||||
index: 7
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Physics Debugger
|
|
||||||
index: 8
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Scene Visibility
|
|
||||||
index: 9
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Particles
|
|
||||||
index: 10
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Tilemap
|
|
||||||
index: 11
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-container--right
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Tilemap Palette Helper
|
|
||||||
index: 12
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Open Tile Palette
|
|
||||||
index: 2
|
|
||||||
layout: 4
|
|
||||||
- dockPosition: 1
|
|
||||||
containerId: overlay-toolbar__top
|
|
||||||
floating: 0
|
|
||||||
collapsed: 0
|
|
||||||
displayed: 0
|
|
||||||
snapOffset: {x: 0, y: 0}
|
|
||||||
snapOffsetDelta: {x: 0, y: 0}
|
|
||||||
snapCorner: 0
|
|
||||||
id: Scene View/Tilemap Focus
|
|
||||||
index: 3
|
|
||||||
layout: 4
|
|
||||||
m_WindowGUID: cc27987af1a868c49b0894db9c0f5429
|
|
||||||
m_Gizmos: 1
|
|
||||||
m_OverrideSceneCullingMask: 6917529027641081856
|
|
||||||
m_SceneIsLit: 1
|
|
||||||
m_SceneLighting: 1
|
|
||||||
m_2DMode: 1
|
|
||||||
m_isRotationLocked: 0
|
|
||||||
m_PlayAudio: 0
|
|
||||||
m_AudioPlay: 0
|
|
||||||
m_Position:
|
|
||||||
m_Target: {x: -8.288611, y: 4.0163245, z: -0.40011978}
|
|
||||||
speed: 2
|
|
||||||
m_Value: {x: -8.288611, y: 4.0163245, z: -0.40011978}
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_CameraMode:
|
|
||||||
drawMode: 0
|
|
||||||
name: Shaded
|
|
||||||
section: Shading Mode
|
|
||||||
m_ValidateTrueMetals: 0
|
|
||||||
m_DoValidateTrueMetals: 0
|
|
||||||
m_ExposureSliderValue: 0
|
|
||||||
m_SceneViewState:
|
|
||||||
m_AlwaysRefresh: 0
|
|
||||||
showFog: 1
|
|
||||||
showSkybox: 1
|
|
||||||
showFlares: 1
|
|
||||||
showImageEffects: 1
|
|
||||||
showParticleSystems: 1
|
|
||||||
showVisualEffectGraphs: 1
|
|
||||||
m_FxEnabled: 1
|
|
||||||
m_Grid:
|
|
||||||
xGrid:
|
|
||||||
m_Fade:
|
|
||||||
m_Target: 0
|
|
||||||
speed: 2
|
|
||||||
m_Value: 0
|
|
||||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
|
||||||
m_Size: {x: 0, y: 0}
|
|
||||||
yGrid:
|
|
||||||
m_Fade:
|
|
||||||
m_Target: 0
|
|
||||||
speed: 2
|
|
||||||
m_Value: 0
|
|
||||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
|
||||||
m_Size: {x: 1, y: 1}
|
|
||||||
zGrid:
|
|
||||||
m_Fade:
|
|
||||||
m_Target: 1
|
|
||||||
speed: 2
|
|
||||||
m_Value: 1
|
|
||||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
|
||||||
m_Size: {x: 1, y: 1}
|
|
||||||
m_ShowGrid: 1
|
|
||||||
m_GridAxis: 1
|
|
||||||
m_gridOpacity: 0.5
|
|
||||||
m_Rotation:
|
|
||||||
m_Target: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
speed: 2
|
|
||||||
m_Value: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_Size:
|
|
||||||
m_Target: 12.713149
|
|
||||||
speed: 2
|
|
||||||
m_Value: 12.713149
|
|
||||||
m_Ortho:
|
|
||||||
m_Target: 1
|
|
||||||
speed: 2
|
|
||||||
m_Value: 1
|
|
||||||
m_CameraSettings:
|
|
||||||
m_Speed: 1
|
|
||||||
m_SpeedNormalized: 0.5
|
|
||||||
m_SpeedMin: 0.001
|
|
||||||
m_SpeedMax: 2
|
|
||||||
m_EasingEnabled: 1
|
|
||||||
m_EasingDuration: 0.4
|
|
||||||
m_AccelerationEnabled: 1
|
|
||||||
m_FieldOfViewHorizontalOrVertical: 60
|
|
||||||
m_NearClip: 0.03
|
|
||||||
m_FarClip: 10000
|
|
||||||
m_DynamicClip: 1
|
|
||||||
m_OcclusionCulling: 0
|
|
||||||
m_LastSceneViewRotation: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
|
|
||||||
m_LastSceneViewOrtho: 0
|
|
||||||
m_ReplacementShader: {fileID: 0}
|
|
||||||
m_ReplacementString:
|
|
||||||
m_SceneVisActive: 1
|
|
||||||
m_LastLockedObject: {fileID: 0}
|
|
||||||
m_ViewIsLockedToObject: 0
|
|
||||||
--- !u!114 &15
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12014, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 230, y: 250}
|
|
||||||
m_MaxSize: {x: 10000, y: 10000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Project
|
|
||||||
m_Image: {fileID: -5179483145760003458, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 654
|
|
||||||
width: 1133.5
|
|
||||||
height: 187
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData: []
|
|
||||||
m_SearchFilter:
|
|
||||||
m_NameFilter:
|
|
||||||
m_ClassNames: []
|
|
||||||
m_AssetLabels: []
|
|
||||||
m_AssetBundleNames: []
|
|
||||||
m_VersionControlStates: []
|
|
||||||
m_SoftLockControlStates: []
|
|
||||||
m_ReferencingInstanceIDs:
|
|
||||||
m_SceneHandles:
|
|
||||||
m_ShowAllHits: 0
|
|
||||||
m_SkipHidden: 0
|
|
||||||
m_SearchArea: 1
|
|
||||||
m_Folders:
|
|
||||||
- Assets
|
|
||||||
m_Globs: []
|
|
||||||
m_OriginalText:
|
|
||||||
m_ViewMode: 1
|
|
||||||
m_StartGridSize: 66
|
|
||||||
m_LastFolders:
|
|
||||||
- Assets
|
|
||||||
m_LastFoldersGridSize: 66
|
|
||||||
m_LastProjectPath: /Users/bance/Documents/GitHub/findthesource
|
|
||||||
m_LockTracker:
|
|
||||||
m_IsLocked: 0
|
|
||||||
m_FolderTreeState:
|
|
||||||
scrollPos: {x: 0, y: 0}
|
|
||||||
m_SelectedIDs: 067a0000
|
|
||||||
m_LastClickedID: 31238
|
|
||||||
m_ExpandedIDs: 00000000067a000000ca9a3bffffff7f
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 1
|
|
||||||
m_ClientGUIView: {fileID: 10}
|
|
||||||
m_SearchString:
|
|
||||||
m_CreateAssetUtility:
|
|
||||||
m_EndAction: {fileID: 0}
|
|
||||||
m_InstanceID: 0
|
|
||||||
m_Path:
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_ResourceFile:
|
|
||||||
m_AssetTreeState:
|
|
||||||
scrollPos: {x: 0, y: 0}
|
|
||||||
m_SelectedIDs:
|
|
||||||
m_LastClickedID: 0
|
|
||||||
m_ExpandedIDs: 00000000067a0000
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 1
|
|
||||||
m_ClientGUIView: {fileID: 0}
|
|
||||||
m_SearchString:
|
|
||||||
m_CreateAssetUtility:
|
|
||||||
m_EndAction: {fileID: 0}
|
|
||||||
m_InstanceID: 0
|
|
||||||
m_Path:
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_ResourceFile:
|
|
||||||
m_ListAreaState:
|
|
||||||
m_SelectedInstanceIDs:
|
|
||||||
m_LastClickedInstanceID: 0
|
|
||||||
m_HadKeyboardFocusLastEvent: 0
|
|
||||||
m_ExpandedInstanceIDs: c623000000000000
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 1
|
|
||||||
m_ClientGUIView: {fileID: 0}
|
|
||||||
m_CreateAssetUtility:
|
|
||||||
m_EndAction: {fileID: 0}
|
|
||||||
m_InstanceID: 0
|
|
||||||
m_Path:
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_ResourceFile:
|
|
||||||
m_NewAssetIndexInList: -1
|
|
||||||
m_ScrollPosition: {x: 0, y: 0}
|
|
||||||
m_GridSize: 66
|
|
||||||
m_SkipHiddenPackages: 0
|
|
||||||
m_DirectoriesAreaWidth: 193
|
|
||||||
--- !u!114 &16
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12003, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 100, y: 100}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Console
|
|
||||||
m_Image: {fileID: -4950941429401207979, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 1482
|
|
||||||
y: 73
|
|
||||||
width: 437
|
|
||||||
height: 926
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData: []
|
|
||||||
--- !u!114 &17
|
|
||||||
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: 1
|
|
||||||
m_Script: {fileID: 12019, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MinSize: {x: 275, y: 50}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Inspector
|
|
||||||
m_Image: {fileID: -440750813802333266, guid: 0000000000000000d000000000000000, type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 1134.5
|
|
||||||
y: 95
|
|
||||||
width: 334.5
|
|
||||||
height: 746
|
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
|
||||||
m_OverlayCanvas:
|
|
||||||
m_LastAppliedPresetName: Default
|
|
||||||
m_SaveData: []
|
|
||||||
m_ObjectsLockedBeforeSerialization: []
|
|
||||||
m_InstanceIDsLockedBeforeSerialization:
|
|
||||||
m_PreviewResizer:
|
|
||||||
m_CachedPref: -160
|
|
||||||
m_ControlHash: -371814159
|
|
||||||
m_PrefName: Preview_InspectorPreview
|
|
||||||
m_LastInspectedObjectInstanceID: -1
|
|
||||||
m_LastVerticalScrollValue: 0
|
|
||||||
m_GlobalObjectId:
|
|
||||||
m_InspectorMode: 0
|
|
||||||
m_LockTracker:
|
|
||||||
m_IsLocked: 0
|
|
||||||
m_PreviewWindow: {fileID: 0}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
Reference in New Issue
Block a user