Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7dabe9e4f6 | ||
|
|
addee9a998 | ||
|
|
62354dc7b9 | ||
|
|
1f8734a95e | ||
|
|
f4aaf4c72f | ||
|
|
775f09cd17 |
16
.gitignore
vendored
16
.gitignore
vendored
@@ -2,14 +2,13 @@
|
|||||||
#
|
#
|
||||||
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
|
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
|
||||||
#
|
#
|
||||||
/[Ll]ibrary/
|
[Ll]ibrary/
|
||||||
/[Tt]emp/
|
[Tt]emp/
|
||||||
/[Oo]bj/
|
[Oo]bj/
|
||||||
/[Bb]uild/
|
[Bb]uild/
|
||||||
/[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
|
||||||
@@ -59,4 +58,3 @@ sysinfo.txt
|
|||||||
# Crashlytics generated file
|
# Crashlytics generated file
|
||||||
crashlytics-build.properties
|
crashlytics-build.properties
|
||||||
|
|
||||||
UserSettings/Layouts/default-2021.dwlt
|
|
||||||
|
|||||||
@@ -1,147 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!243 &-8278190956376925970
|
|
||||||
AudioMixerGroupController:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Music
|
|
||||||
m_AudioMixer: {fileID: 24100000}
|
|
||||||
m_GroupID: bb6595b6ed279ee4d9d32d814a5de07d
|
|
||||||
m_Children: []
|
|
||||||
m_Volume: a6c678bb6e7ed8c4a9e8ed2de1b57121
|
|
||||||
m_Pitch: 75d6991556b34e344a343d76210738b1
|
|
||||||
m_Send: 00000000000000000000000000000000
|
|
||||||
m_Effects:
|
|
||||||
- {fileID: 8179030316469016573}
|
|
||||||
m_UserColorIndex: 0
|
|
||||||
m_Mute: 0
|
|
||||||
m_Solo: 0
|
|
||||||
m_BypassEffects: 0
|
|
||||||
--- !u!243 &-7755842500057852920
|
|
||||||
AudioMixerGroupController:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Sfx
|
|
||||||
m_AudioMixer: {fileID: 24100000}
|
|
||||||
m_GroupID: c35f361e0924baa42b9bc02d6dd2a18d
|
|
||||||
m_Children: []
|
|
||||||
m_Volume: 31bc5c8920a5e084bb8ac13ce5116a50
|
|
||||||
m_Pitch: c39d8e0beab9ae64c8ee9a4461f50ae9
|
|
||||||
m_Send: 00000000000000000000000000000000
|
|
||||||
m_Effects:
|
|
||||||
- {fileID: -7227639147278616804}
|
|
||||||
m_UserColorIndex: 0
|
|
||||||
m_Mute: 0
|
|
||||||
m_Solo: 0
|
|
||||||
m_BypassEffects: 0
|
|
||||||
--- !u!244 &-7227639147278616804
|
|
||||||
AudioMixerEffectController:
|
|
||||||
m_ObjectHideFlags: 3
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EffectID: 7cb225636800245498242022b6304aab
|
|
||||||
m_EffectName: Attenuation
|
|
||||||
m_MixLevel: 44713661e2bc63c4c8925ecc5cb97d2e
|
|
||||||
m_Parameters: []
|
|
||||||
m_SendTarget: {fileID: 0}
|
|
||||||
m_EnableWetMix: 0
|
|
||||||
m_Bypass: 0
|
|
||||||
--- !u!241 &24100000
|
|
||||||
AudioMixerController:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Main
|
|
||||||
m_OutputGroup: {fileID: 0}
|
|
||||||
m_MasterGroup: {fileID: 24300002}
|
|
||||||
m_Snapshots:
|
|
||||||
- {fileID: 24500006}
|
|
||||||
m_StartSnapshot: {fileID: 24500006}
|
|
||||||
m_SuspendThreshold: -80
|
|
||||||
m_EnableSuspend: 1
|
|
||||||
m_UpdateMode: 0
|
|
||||||
m_ExposedParameters:
|
|
||||||
- guid: c27725ff676d7f24dbd1f3c226a595c9
|
|
||||||
name: Master
|
|
||||||
- guid: a6c678bb6e7ed8c4a9e8ed2de1b57121
|
|
||||||
name: Music
|
|
||||||
- guid: 31bc5c8920a5e084bb8ac13ce5116a50
|
|
||||||
name: Sfx
|
|
||||||
m_AudioMixerGroupViews:
|
|
||||||
- guids:
|
|
||||||
- d297857404e191f458a5e8c271c53a13
|
|
||||||
- bb6595b6ed279ee4d9d32d814a5de07d
|
|
||||||
- c35f361e0924baa42b9bc02d6dd2a18d
|
|
||||||
name: View
|
|
||||||
m_CurrentViewIndex: 0
|
|
||||||
m_TargetSnapshot: {fileID: 24500006}
|
|
||||||
--- !u!243 &24300002
|
|
||||||
AudioMixerGroupController:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Master
|
|
||||||
m_AudioMixer: {fileID: 24100000}
|
|
||||||
m_GroupID: d297857404e191f458a5e8c271c53a13
|
|
||||||
m_Children:
|
|
||||||
- {fileID: -8278190956376925970}
|
|
||||||
- {fileID: -7755842500057852920}
|
|
||||||
m_Volume: c27725ff676d7f24dbd1f3c226a595c9
|
|
||||||
m_Pitch: 40b76980f0abe8f4da7d859596d64181
|
|
||||||
m_Send: 00000000000000000000000000000000
|
|
||||||
m_Effects:
|
|
||||||
- {fileID: 24400004}
|
|
||||||
m_UserColorIndex: 0
|
|
||||||
m_Mute: 0
|
|
||||||
m_Solo: 0
|
|
||||||
m_BypassEffects: 0
|
|
||||||
--- !u!244 &24400004
|
|
||||||
AudioMixerEffectController:
|
|
||||||
m_ObjectHideFlags: 3
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EffectID: e376c615d038fc74492eef278995aa9e
|
|
||||||
m_EffectName: Attenuation
|
|
||||||
m_MixLevel: 33f84a3c9d2de6a4093ad1fbba4f638f
|
|
||||||
m_Parameters: []
|
|
||||||
m_SendTarget: {fileID: 0}
|
|
||||||
m_EnableWetMix: 0
|
|
||||||
m_Bypass: 0
|
|
||||||
--- !u!245 &24500006
|
|
||||||
AudioMixerSnapshotController:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Snapshot
|
|
||||||
m_AudioMixer: {fileID: 24100000}
|
|
||||||
m_SnapshotID: 3a37b8bb5e255d248acceb2000138ffd
|
|
||||||
m_FloatValues:
|
|
||||||
31bc5c8920a5e084bb8ac13ce5116a50: 0
|
|
||||||
a6c678bb6e7ed8c4a9e8ed2de1b57121: 0
|
|
||||||
c27725ff676d7f24dbd1f3c226a595c9: 0
|
|
||||||
m_TransitionOverrides: {}
|
|
||||||
--- !u!244 &8179030316469016573
|
|
||||||
AudioMixerEffectController:
|
|
||||||
m_ObjectHideFlags: 3
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EffectID: b8aa68d2ca5a93849beea6e92af8d466
|
|
||||||
m_EffectName: Attenuation
|
|
||||||
m_MixLevel: c319a6d2cc8a5d447929c64ddd4c8e85
|
|
||||||
m_Parameters: []
|
|
||||||
m_SendTarget: {fileID: 0}
|
|
||||||
m_EnableWetMix: 0
|
|
||||||
m_Bypass: 0
|
|
||||||
80
Assets/Resources/Materials/Blue 1.mat
Normal file
80
Assets/Resources/Materials/Blue 1.mat
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Blue 1
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0, g: 0.45413065, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 911068ff86e0a0b4d8dae92436b938fa
|
guid: 16f83bfa043cc4303ae44d1609056b1b
|
||||||
NativeFormatImporter:
|
NativeFormatImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 0
|
mainObjectFileID: 2100000
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
@@ -75,6 +75,6 @@ Material:
|
|||||||
- _UVSec: 0
|
- _UVSec: 0
|
||||||
- _ZWrite: 1
|
- _ZWrite: 1
|
||||||
m_Colors:
|
m_Colors:
|
||||||
- _Color: {r: 0, g: 0.45413065, b: 1, a: 1}
|
- _Color: {r: 0, g: 0.08247185, b: 1, a: 1}
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
m_BuildTextureStacks: []
|
m_BuildTextureStacks: []
|
||||||
|
|||||||
@@ -75,6 +75,6 @@ Material:
|
|||||||
- _UVSec: 0
|
- _UVSec: 0
|
||||||
- _ZWrite: 1
|
- _ZWrite: 1
|
||||||
m_Colors:
|
m_Colors:
|
||||||
- _Color: {r: 0.5188679, g: 0.5188679, b: 0.5188679, a: 1}
|
- _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
m_BuildTextureStacks: []
|
m_BuildTextureStacks: []
|
||||||
|
|||||||
80
Assets/Resources/Materials/Purple.mat
Normal file
80
Assets/Resources/Materials/Purple.mat
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Purple
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.51895434, g: 0.1448469, b: 0.990566, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 5822b88e98887c34383505b33c58d6da
|
guid: eba828644a2f4421ba6245d93f22c5ec
|
||||||
PrefabImporter:
|
NativeFormatImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: a611db572eb51f74daae283e06cb708c
|
guid: f6a1cb6742cdd4c719cd2afdd9d693bf
|
||||||
ModelImporter:
|
ModelImporter:
|
||||||
serializedVersion: 21300
|
serializedVersion: 21300
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
|
|||||||
80
Assets/Resources/Models/Map objects/module3.mat
Normal file
80
Assets/Resources/Models/Map objects/module3.mat
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: module3
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.9063317, g: 0.9063317, b: 0.9063317, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
13
Assets/Resources/Models/Map objects/module3.mat.meta
Normal file
13
Assets/Resources/Models/Map objects/module3.mat.meta
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
<<<<<<<< HEAD:Assets/Resources/Models/Map objects/module3.mat.meta
|
||||||
|
guid: a165a068343ef47108ec4332d0bdc767
|
||||||
|
NativeFormatImporter:
|
||||||
|
========
|
||||||
|
guid: 801674bb4f54353d3966591ac2876a92
|
||||||
|
PrefabImporter:
|
||||||
|
>>>>>>>> master:Assets/Resources/Prefabs/WorldObjects/World1/haz1.prefab.meta
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 4c2e256ecd4c2004bb64349c00191e97
|
guid: b96955730a74a745b80bbb65782ca1f8
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
BIN
Assets/Resources/Models/World Objects/World 1/haz1 fbx.fbx
Normal file
BIN
Assets/Resources/Models/World Objects/World 1/haz1 fbx.fbx
Normal file
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 54c04c01263edae47831b700835b66de
|
guid: fd275518d3aad0536b1b8b19df0306ad
|
||||||
ModelImporter:
|
ModelImporter:
|
||||||
serializedVersion: 21300
|
serializedVersion: 21300
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
BIN
Assets/Resources/Models/World Objects/World 1/haz2 fbx.fbx
Normal file
BIN
Assets/Resources/Models/World Objects/World 1/haz2 fbx.fbx
Normal file
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 5e814191f087bc54b9b4c463419d91a5
|
guid: 345137c8b40553842bf05ead1dab812e
|
||||||
ModelImporter:
|
ModelImporter:
|
||||||
serializedVersion: 21300
|
serializedVersion: 21300
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
@@ -42,14 +42,14 @@ ModelImporter:
|
|||||||
sortHierarchyByName: 1
|
sortHierarchyByName: 1
|
||||||
importVisibility: 1
|
importVisibility: 1
|
||||||
importBlendShapes: 1
|
importBlendShapes: 1
|
||||||
importCameras: 0
|
importCameras: 1
|
||||||
importLights: 0
|
importLights: 1
|
||||||
nodeNameCollisionStrategy: 1
|
nodeNameCollisionStrategy: 1
|
||||||
fileIdsGeneration: 2
|
fileIdsGeneration: 2
|
||||||
swapUVChannels: 0
|
swapUVChannels: 0
|
||||||
generateSecondaryUV: 0
|
generateSecondaryUV: 0
|
||||||
useFileUnits: 1
|
useFileUnits: 1
|
||||||
keepQuads: 1
|
keepQuads: 0
|
||||||
weldVertices: 1
|
weldVertices: 1
|
||||||
bakeAxisConversion: 0
|
bakeAxisConversion: 0
|
||||||
preserveHierarchy: 0
|
preserveHierarchy: 0
|
||||||
@@ -66,7 +66,7 @@ ModelImporter:
|
|||||||
secondaryUVMinLightmapResolution: 40
|
secondaryUVMinLightmapResolution: 40
|
||||||
secondaryUVMinObjectScale: 1
|
secondaryUVMinObjectScale: 1
|
||||||
secondaryUVPackMargin: 4
|
secondaryUVPackMargin: 4
|
||||||
useFileScale: 0
|
useFileScale: 1
|
||||||
tangentSpace:
|
tangentSpace:
|
||||||
normalSmoothAngle: 60
|
normalSmoothAngle: 60
|
||||||
normalImportMode: 0
|
normalImportMode: 0
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,106 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: dde0de1a5a0540349960213281bdc74e
|
|
||||||
ModelImporter:
|
|
||||||
serializedVersion: 21300
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
materials:
|
|
||||||
materialImportMode: 2
|
|
||||||
materialName: 0
|
|
||||||
materialSearch: 1
|
|
||||||
materialLocation: 1
|
|
||||||
animations:
|
|
||||||
legacyGenerateAnimations: 4
|
|
||||||
bakeSimulation: 0
|
|
||||||
resampleCurves: 1
|
|
||||||
optimizeGameObjects: 0
|
|
||||||
removeConstantScaleCurves: 1
|
|
||||||
motionNodeName:
|
|
||||||
rigImportErrors:
|
|
||||||
rigImportWarnings:
|
|
||||||
animationImportErrors:
|
|
||||||
animationImportWarnings:
|
|
||||||
animationRetargetingWarnings:
|
|
||||||
animationDoRetargetingWarnings: 0
|
|
||||||
importAnimatedCustomProperties: 0
|
|
||||||
importConstraints: 0
|
|
||||||
animationCompression: 1
|
|
||||||
animationRotationError: 0.5
|
|
||||||
animationPositionError: 0.5
|
|
||||||
animationScaleError: 0.5
|
|
||||||
animationWrapMode: 0
|
|
||||||
extraExposedTransformPaths: []
|
|
||||||
extraUserProperties: []
|
|
||||||
clipAnimations: []
|
|
||||||
isReadable: 0
|
|
||||||
meshes:
|
|
||||||
lODScreenPercentages: []
|
|
||||||
globalScale: 1
|
|
||||||
meshCompression: 0
|
|
||||||
addColliders: 0
|
|
||||||
useSRGBMaterialColor: 1
|
|
||||||
sortHierarchyByName: 1
|
|
||||||
importVisibility: 1
|
|
||||||
importBlendShapes: 1
|
|
||||||
importCameras: 0
|
|
||||||
importLights: 0
|
|
||||||
nodeNameCollisionStrategy: 1
|
|
||||||
fileIdsGeneration: 2
|
|
||||||
swapUVChannels: 0
|
|
||||||
generateSecondaryUV: 0
|
|
||||||
useFileUnits: 1
|
|
||||||
keepQuads: 1
|
|
||||||
weldVertices: 0
|
|
||||||
bakeAxisConversion: 0
|
|
||||||
preserveHierarchy: 0
|
|
||||||
skinWeightsMode: 0
|
|
||||||
maxBonesPerVertex: 4
|
|
||||||
minBoneWeight: 0.001
|
|
||||||
optimizeBones: 1
|
|
||||||
meshOptimizationFlags: -1
|
|
||||||
indexFormat: 0
|
|
||||||
secondaryUVAngleDistortion: 8
|
|
||||||
secondaryUVAreaDistortion: 15.000001
|
|
||||||
secondaryUVHardAngle: 88
|
|
||||||
secondaryUVMarginMethod: 1
|
|
||||||
secondaryUVMinLightmapResolution: 40
|
|
||||||
secondaryUVMinObjectScale: 1
|
|
||||||
secondaryUVPackMargin: 4
|
|
||||||
useFileScale: 1
|
|
||||||
tangentSpace:
|
|
||||||
normalSmoothAngle: 60
|
|
||||||
normalImportMode: 0
|
|
||||||
tangentImportMode: 3
|
|
||||||
normalCalculationMode: 4
|
|
||||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
|
||||||
blendShapeNormalImportMode: 0
|
|
||||||
normalSmoothingSource: 0
|
|
||||||
referencedClips: []
|
|
||||||
importAnimation: 1
|
|
||||||
humanDescription:
|
|
||||||
serializedVersion: 3
|
|
||||||
human: []
|
|
||||||
skeleton: []
|
|
||||||
armTwist: 0.5
|
|
||||||
foreArmTwist: 0.5
|
|
||||||
upperLegTwist: 0.5
|
|
||||||
legTwist: 0.5
|
|
||||||
armStretch: 0.05
|
|
||||||
legStretch: 0.05
|
|
||||||
feetSpacing: 0
|
|
||||||
globalScale: 1
|
|
||||||
rootMotionBoneName:
|
|
||||||
hasTranslationDoF: 0
|
|
||||||
hasExtraRoot: 0
|
|
||||||
skeletonHasParents: 1
|
|
||||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
|
||||||
autoGenerateAvatarMappingIfUnspecified: 1
|
|
||||||
animationType: 2
|
|
||||||
humanoidOversampling: 1
|
|
||||||
avatarSetup: 0
|
|
||||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
|
||||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
|
||||||
additionalBone: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
13
Assets/Resources/Prefabs/Modulok/module3.prefab.meta
Normal file
13
Assets/Resources/Prefabs/Modulok/module3.prefab.meta
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
<<<<<<<< HEAD:Assets/Resources/Prefabs/Modulok/module3.prefab.meta
|
||||||
|
guid: 9a7886f1d68cf4230b9a1182099be3d2
|
||||||
|
PrefabImporter:
|
||||||
|
========
|
||||||
|
guid: 7fd43fea6e592be348af51e93185cf90
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
>>>>>>>> master:Assets/Resources/Prefabs/WorldObjects/World1.meta
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -1,5 +1,9 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
|
<<<<<<<< HEAD:Assets/Resources/Textures.meta
|
||||||
|
guid: fc6f1bf56af074c7192922564ebb4e92
|
||||||
|
========
|
||||||
guid: 45f19baf5179cf745ba619186f664b9e
|
guid: 45f19baf5179cf745ba619186f664b9e
|
||||||
|
>>>>>>>> master:Assets/Resources/Prefabs/WorldObjects.meta
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
<<<<<<<< HEAD:Assets/Resources/Prefabs/WorldObjects/World1/haz2.prefab.meta
|
||||||
|
guid: 86d24be1a09e14f6f9497f99c2f74656
|
||||||
|
========
|
||||||
|
guid: 801674bb4f54353d3966591ac2876a92
|
||||||
|
>>>>>>>> master:Assets/Resources/Prefabs/WorldObjects/World1/haz1.prefab.meta
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
File diff suppressed because it is too large
Load Diff
2441
Assets/Resources/Prefabs/WorldObjects/World1/haz2.prefab
Normal file
2441
Assets/Resources/Prefabs/WorldObjects/World1/haz2.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
<<<<<<<< HEAD:Assets/Resources/Prefabs/WorldObjects/World1/haz2.prefab.meta
|
||||||
|
guid: 8500f6075c56d47809b2a1e2dfb10d39
|
||||||
|
========
|
||||||
|
guid: 801674bb4f54353d3966591ac2876a92
|
||||||
|
>>>>>>>> master:Assets/Resources/Prefabs/WorldObjects/World1/haz1.prefab.meta
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f8302c5b02615834ab22b119484415c4
|
|
||||||
PrefabImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 922c9d3ed72c7904e92daec040e7e8ff
|
|
||||||
PrefabImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@@ -1,22 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 25608c1bc780145479ecff7d04b50126
|
|
||||||
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: 1
|
|
||||||
ambisonic: 0
|
|
||||||
3D: 1
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@@ -1,22 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: bf33ceb4e70e33349bba9e70519c57e2
|
|
||||||
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: 1
|
|
||||||
ambisonic: 0
|
|
||||||
3D: 1
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
12
Assets/Resources/Textures.meta
Normal file
12
Assets/Resources/Textures.meta
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
<<<<<<<< HEAD:Assets/Resources/Textures.meta
|
||||||
|
guid: 245f6ec294f624ab499ad594b52a3614
|
||||||
|
========
|
||||||
|
guid: 45f19baf5179cf745ba619186f664b9e
|
||||||
|
>>>>>>>> master:Assets/Resources/Prefabs/WorldObjects.meta
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Resources/Textures/576.jpg
Executable file
BIN
Assets/Resources/Textures/576.jpg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 255 KiB |
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: a201df5ae079540469bed818e0e205ff
|
guid: 8fb750d6fdc5349d69301f48c4c14e9c
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
@@ -39,10 +39,10 @@ TextureImporter:
|
|||||||
wrapU: 0
|
wrapU: 0
|
||||||
wrapV: 0
|
wrapV: 0
|
||||||
wrapW: 0
|
wrapW: 0
|
||||||
nPOTScale: 0
|
nPOTScale: 1
|
||||||
lightmap: 0
|
lightmap: 0
|
||||||
compressionQuality: 50
|
compressionQuality: 50
|
||||||
spriteMode: 1
|
spriteMode: 0
|
||||||
spriteExtrude: 1
|
spriteExtrude: 1
|
||||||
spriteMeshType: 1
|
spriteMeshType: 1
|
||||||
alignment: 0
|
alignment: 0
|
||||||
@@ -53,7 +53,7 @@ TextureImporter:
|
|||||||
alphaUsage: 1
|
alphaUsage: 1
|
||||||
alphaIsTransparency: 0
|
alphaIsTransparency: 0
|
||||||
spriteTessellationDetail: -1
|
spriteTessellationDetail: -1
|
||||||
textureType: 8
|
textureType: 0
|
||||||
textureShape: 1
|
textureShape: 1
|
||||||
singleChannelComponent: 0
|
singleChannelComponent: 0
|
||||||
flipbookRows: 1
|
flipbookRows: 1
|
||||||
@@ -101,18 +101,6 @@ TextureImporter:
|
|||||||
overridden: 0
|
overridden: 0
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 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
|
- serializedVersion: 3
|
||||||
buildTarget: iPhone
|
buildTarget: iPhone
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
@@ -125,37 +113,13 @@ TextureImporter:
|
|||||||
overridden: 0
|
overridden: 0
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 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:
|
spriteSheet:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
sprites: []
|
sprites: []
|
||||||
outline: []
|
outline: []
|
||||||
physicsShape: []
|
physicsShape: []
|
||||||
bones: []
|
bones: []
|
||||||
spriteID: 5e97eb03825dee720800000000000000
|
spriteID:
|
||||||
internalID: 0
|
internalID: 0
|
||||||
vertices: []
|
vertices: []
|
||||||
indices:
|
indices:
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 62 KiB |
11776
Assets/Scenes/Menu.unity
11776
Assets/Scenes/Menu.unity
File diff suppressed because it is too large
Load Diff
@@ -43,12 +43,12 @@ public class CoinCounter : MonoBehaviour
|
|||||||
|
|
||||||
public void SetCoin(ulong number){
|
public void SetCoin(ulong number){
|
||||||
coin = number;
|
coin = number;
|
||||||
coinCounterUI.text = coin.ToString();
|
coinCounterUI.text = "Coins: " + coin.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddCoin(ulong number){
|
public void AddCoin(ulong number){
|
||||||
coin += number;
|
coin += number;
|
||||||
coinCounterUI.text = coin.ToString();
|
coinCounterUI.text = "Coins: " + coin.ToString();
|
||||||
|
|
||||||
/*writer = new StreamWriter(path, false, Encoding.Default);
|
/*writer = new StreamWriter(path, false, Encoding.Default);
|
||||||
writer.Write(coin);
|
writer.Write(coin);
|
||||||
@@ -57,7 +57,7 @@ public class CoinCounter : MonoBehaviour
|
|||||||
|
|
||||||
public void RemoveCoin(ulong number){
|
public void RemoveCoin(ulong number){
|
||||||
coin -= number;
|
coin -= number;
|
||||||
coinCounterUI.text = coin.ToString();
|
coinCounterUI.text = "Coins: " + coin.ToString();
|
||||||
|
|
||||||
/*writer = new StreamWriter(path, false, Encoding.Default);
|
/*writer = new StreamWriter(path, false, Encoding.Default);
|
||||||
writer.Write(coin);
|
writer.Write(coin);
|
||||||
|
|||||||
@@ -11,18 +11,11 @@ public class GroundController : MonoBehaviour
|
|||||||
public Material[] materials;
|
public Material[] materials;
|
||||||
public int materialIndex = 0;
|
public int materialIndex = 0;
|
||||||
public float groundMoveSpeed = 10f;
|
public float groundMoveSpeed = 10f;
|
||||||
private Vector3 lastSideObjectPos = new Vector3(0, 0, 0);
|
private Vector3 lastSideObjectPos = new Vector3(0,0,0);
|
||||||
[SerializeField] GameObject portalModul;
|
|
||||||
|
|
||||||
[SerializeField] private int groundCounter = 0;
|
|
||||||
[SerializeField] private int portalSpawnNumber = 15; //ennyi modulonkent spawnoljon portalt
|
|
||||||
|
|
||||||
//private CollectibleSpawner cs;
|
//private CollectibleSpawner cs;
|
||||||
|
|
||||||
private Material newMaterial;
|
private void Awake() {
|
||||||
|
|
||||||
private void Awake()
|
|
||||||
{
|
|
||||||
//cs = FindObjectOfType<CollectibleSpawner>();
|
//cs = FindObjectOfType<CollectibleSpawner>();
|
||||||
|
|
||||||
//Loading modules
|
//Loading modules
|
||||||
@@ -33,158 +26,99 @@ public class GroundController : MonoBehaviour
|
|||||||
|
|
||||||
//getting all of the ground objects by the tag
|
//getting all of the ground objects by the tag
|
||||||
ground = GameObject.FindGameObjectsWithTag("Ground");
|
ground = GameObject.FindGameObjectsWithTag("Ground");
|
||||||
if (ground.Length == 0)
|
if(ground.Length == 0){
|
||||||
{
|
|
||||||
Debug.Log("Nem talalt ground objectet");
|
Debug.Log("Nem talalt ground objectet");
|
||||||
}
|
}else{
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("ground length: " + ground.Length);
|
Debug.Log("ground length: " + ground.Length);
|
||||||
}
|
}
|
||||||
|
|
||||||
newMaterial = materials[0]; //correct color
|
|
||||||
Debug.Log(newMaterial.color);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Move(GameObject move)
|
private void Update() {
|
||||||
{
|
|
||||||
move.transform.position = move.transform.position + new Vector3(0, 0, -groundMoveSpeed * Time.deltaTime);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Update()
|
|
||||||
{
|
|
||||||
ground = GameObject.FindGameObjectsWithTag("Ground"); //torles miatt ujra le kell kerni a ground objecteket
|
ground = GameObject.FindGameObjectsWithTag("Ground"); //torles miatt ujra le kell kerni a ground objecteket
|
||||||
sideObjectsSpawned = GameObject.FindGameObjectsWithTag("SideObject");
|
sideObjectsSpawned = GameObject.FindGameObjectsWithTag("SideObject");
|
||||||
|
|
||||||
OrderArrayByZ(ground); //rendezzuk z szerint a talajt
|
OrderArrayByZ(ground); //rendezzuk z szerint a talajt
|
||||||
OrderArrayByZ(sideObjectsSpawned);
|
OrderArrayByZ(sideObjectsSpawned);
|
||||||
|
|
||||||
for (int i = 0; i < ground.Length; i++)
|
if(sideObjectsSpawned.Length > 0){
|
||||||
{ //ground objecteket mozgatja
|
lastSideObjectPos = sideObjectsSpawned[sideObjectsSpawned.Length-1].transform.position;
|
||||||
Move(ground[i]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < sideObjectsSpawned.Length; i++)
|
for (int i = 0; i < ground.Length; i++){ //ground objecteket mozgatja
|
||||||
{
|
ground[i].transform.position = ground[i].transform.position + new Vector3(0,0, -groundMoveSpeed * Time.deltaTime);
|
||||||
//sideObjectsSpawned[i].transform.position = sideObjectsSpawned[i].transform.position + new Vector3(0,0, -groundMoveSpeed * Time.deltaTime);
|
|
||||||
Move(sideObjectsSpawned[i]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sideObjectsSpawned[sideObjectsSpawned.Length - 1].transform.position.z < 145)
|
for(int i = 0; i < sideObjectsSpawned.Length; i++){
|
||||||
{
|
sideObjectsSpawned[i].transform.position = sideObjectsSpawned[i].transform.position + new Vector3(0,0, -groundMoveSpeed * Time.deltaTime);
|
||||||
CreateNewSideObjects(false);
|
|
||||||
CreateNewSideObjects(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//uj ground letrehozas
|
//uj ground letrehozas
|
||||||
if (ground[ground.Length - 1].transform.position.z <= 120)
|
if(ground[ground.Length-1].transform.position.z <= 120){
|
||||||
{
|
CreateNewGround();
|
||||||
if (groundCounter == portalSpawnNumber)
|
CreateNewSideObjects(false);
|
||||||
{
|
|
||||||
CreateNewGround(true);
|
|
||||||
groundCounter = 0; //ne menjen a vegtelensegig a counter
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
CreateNewGround();
|
|
||||||
}
|
|
||||||
|
|
||||||
ground = GameObject.FindGameObjectsWithTag("Ground");
|
ground = GameObject.FindGameObjectsWithTag("Ground");
|
||||||
|
|
||||||
ModuleColorChange();
|
for(int i = 0; i < ground.Length; i++){
|
||||||
|
/*foreach (GameObject child in ground[i].transform){
|
||||||
|
if (child.name == "Lane1" || child.name == "Lane2" || child.name == "Lane3"){
|
||||||
|
Debug.Log(child.name + " " + transform.gameObject.name);
|
||||||
|
}
|
||||||
|
}*/
|
||||||
|
Transform[] lanes = new Transform[3];
|
||||||
|
lanes[0] = ground[i].transform.Find("Lane1");
|
||||||
|
lanes[1] = ground[i].transform.Find("Lane2");
|
||||||
|
lanes[2] = ground[i].transform.Find("Lane3");
|
||||||
|
|
||||||
|
foreach(var item in lanes){
|
||||||
|
item.GetComponent<MeshRenderer>().material = materials[materialIndex];
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//ellenorzi hogy torolheto e az object || mar nem szukseges mert van egy trigger box
|
||||||
|
/*foreach (var item in ground){
|
||||||
|
if(CheckGroundToDestroy(item)){
|
||||||
|
Destroy(item);
|
||||||
|
}
|
||||||
|
}*/
|
||||||
|
|
||||||
//cs.SpawnCoin();
|
//cs.SpawnCoin();
|
||||||
}
|
}
|
||||||
|
|
||||||
private GameObject[] LoadPrefabs(string path)
|
private GameObject[] LoadPrefabs(string path){ //toltese be a palya objecteket a resources mappabol pl: "Prefabs/Modulok"
|
||||||
{ //toltese be a palya objecteket a resources mappabol pl: "Prefabs/Modulok"
|
|
||||||
GameObject[] arr = Resources.LoadAll<GameObject>(path);
|
GameObject[] arr = Resources.LoadAll<GameObject>(path);
|
||||||
|
|
||||||
return arr;
|
return arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CreateNewSideObjects(bool isLeftSide)
|
private void CreateNewSideObjects(bool isLeftSide){
|
||||||
{
|
int random = UnityEngine.Random.Range(0, sideObjects.Length);
|
||||||
List<GameObject> side = new List<GameObject>(); //eltarolja egy oldal sideObjectjeit, hogy a jo oldalhoz nezze a kovetkezo elemet;
|
|
||||||
|
|
||||||
foreach (var item in sideObjectsSpawned)
|
GameObject inst = sideObjects[random];
|
||||||
{
|
Vector3 pos = new Vector3(0,0,0);
|
||||||
if (item.transform.position.x < 0 && isLeftSide)
|
|
||||||
{
|
if(inst.name == "haz1" && !isLeftSide){
|
||||||
side.Add(item); //bal oldal
|
pos = new Vector3(4,0,0); //check pos in editor TODO!!
|
||||||
}
|
}else if(inst.name == "haz2"){
|
||||||
else if (item.transform.position.x > 0 && !isLeftSide)
|
pos = new Vector3(9,0,0);
|
||||||
{
|
|
||||||
side.Add(item); //jobb oldal
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int random = UnityEngine.Random.Range(0, sideObjects.Length); //random sorsolasa a modulhoz
|
if(isLeftSide) pos.x = -pos.x;
|
||||||
//random = 0; //csak debug
|
|
||||||
|
|
||||||
GameObject inst = sideObjects[random]; //random modul object eltarolas
|
Instantiate(inst, lastSideObjectPos + pos, ground[0].transform.rotation);
|
||||||
|
|
||||||
//remake to get width
|
|
||||||
Vector3 offset = new Vector3(0, 0, 0);
|
|
||||||
|
|
||||||
if (side.Count > 0)
|
|
||||||
{
|
|
||||||
if (side[side.Count - 1].gameObject.name.Contains("haz1")) //haz1Clone
|
|
||||||
offset = new Vector3(0, 0, 15f); //TODO adjust
|
|
||||||
else if (side[side.Count - 1].gameObject.name.Contains("haz2"))
|
|
||||||
offset = new Vector3(0, 0, 20f); //TODO adjust
|
|
||||||
}
|
|
||||||
//
|
|
||||||
|
|
||||||
Vector3 pos = new Vector3(9f, -5f, -10f);
|
|
||||||
Quaternion rotation = inst.transform.rotation;
|
|
||||||
|
|
||||||
if (side.Count > 0)
|
|
||||||
//pos = sideObjectsSpawned[sideObjectsSpawned.Length - 1].transform.position + offset;
|
|
||||||
pos = side[side.Count - 1].transform.position + offset;
|
|
||||||
else
|
|
||||||
pos = pos + offset;
|
|
||||||
|
|
||||||
|
|
||||||
if (isLeftSide && pos.x > 0) //x negativ hogy a bal oldalra keruljon
|
|
||||||
pos.x = -pos.x;
|
|
||||||
|
|
||||||
|
|
||||||
Instantiate(inst, pos, rotation);
|
|
||||||
|
|
||||||
sideObjectsSpawned = GameObject.FindGameObjectsWithTag("SideObject");
|
|
||||||
OrderArrayByZ(sideObjectsSpawned);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ModuleColorChange()
|
public void changeMaterialIndex(){
|
||||||
{
|
|
||||||
ground = GameObject.FindGameObjectsWithTag("Ground");
|
|
||||||
|
|
||||||
for (int i = 0; i < ground.Length; i++)
|
|
||||||
{
|
|
||||||
Transform[] lanes = new Transform[3];
|
|
||||||
lanes[0] = ground[i].transform.Find("Lane1");
|
|
||||||
lanes[1] = ground[i].transform.Find("Lane2");
|
|
||||||
lanes[2] = ground[i].transform.Find("Lane3");
|
|
||||||
|
|
||||||
foreach (var item in lanes)
|
|
||||||
{
|
|
||||||
item.GetComponent<MeshRenderer>().material = newMaterial;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void changeMaterialIndex()
|
|
||||||
{
|
|
||||||
int materialteszt;
|
int materialteszt;
|
||||||
bool teszteljtovabb = true;
|
bool teszteljtovabb = true;
|
||||||
|
|
||||||
while (teszteljtovabb)
|
while (teszteljtovabb == true)
|
||||||
{
|
{
|
||||||
materialteszt = UnityEngine.Random.Range(0, materials.Length);
|
materialteszt = UnityEngine.Random.Range(0, materials.Length);
|
||||||
Debug.Log(materialteszt);
|
Debug.Log(materialteszt);
|
||||||
|
|
||||||
if (materialteszt == materialIndex)
|
if (materialteszt == materialIndex)
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -197,18 +131,12 @@ public class GroundController : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
teszteljtovabb = true;
|
teszteljtovabb = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ChangeMaterial(Material mat)
|
private bool CheckGroundToDestroy(GameObject toCheck){
|
||||||
{
|
|
||||||
newMaterial = mat;
|
|
||||||
}
|
|
||||||
|
|
||||||
private bool CheckGroundToDestroy(GameObject toCheck)
|
|
||||||
{
|
|
||||||
//z = -80 -nal lehet torolni
|
//z = -80 -nal lehet torolni
|
||||||
if (toCheck.transform.position.z <= -80)
|
if(toCheck.transform.position.z <= -80){
|
||||||
{
|
|
||||||
Debug.Log("elerte " + toCheck.name);
|
Debug.Log("elerte " + toCheck.name);
|
||||||
return true; //torolheto
|
return true; //torolheto
|
||||||
}
|
}
|
||||||
@@ -216,37 +144,22 @@ public class GroundController : MonoBehaviour
|
|||||||
return false; //nem torolheto
|
return false; //nem torolheto
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OrderArrayByZ(GameObject[] array)
|
private void OrderArrayByZ(GameObject[] array){
|
||||||
{
|
|
||||||
GameObject csere;
|
GameObject csere;
|
||||||
for (int i = 0; i < array.Length; i++)
|
for (int i = 0; i < array.Length; i++){
|
||||||
{
|
for(int j = 0; j < i; j++){
|
||||||
for (int j = 0; j < i; j++)
|
if(array[j].transform.position.z > array[j+1].transform.position.z){
|
||||||
{
|
|
||||||
if (array[j].transform.position.z > array[j + 1].transform.position.z)
|
|
||||||
{
|
|
||||||
csere = array[j];
|
csere = array[j];
|
||||||
array[j] = array[j + 1];
|
array[j] = array[j+1];
|
||||||
array[j + 1] = csere;
|
array[j+1] = csere;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CreateNewGround(bool portalModulSpawn = false)
|
private void CreateNewGround(){
|
||||||
{
|
|
||||||
int random = UnityEngine.Random.Range(0, loadFrom.Length);
|
int random = UnityEngine.Random.Range(0, loadFrom.Length);
|
||||||
|
|
||||||
GameObject inst;
|
|
||||||
|
|
||||||
if (!portalModulSpawn)
|
|
||||||
inst = loadFrom[random];
|
|
||||||
else
|
|
||||||
inst = portalModul;
|
|
||||||
|
|
||||||
|
|
||||||
//egy modullal elobb tolt be, annak az iranyanak megfeleloen, +80 a ket modul hossza
|
//egy modullal elobb tolt be, annak az iranyanak megfeleloen, +80 a ket modul hossza
|
||||||
Instantiate(inst, new Vector3(ground[ground.Length - 1].transform.position.x, ground[ground.Length - 1].transform.position.y, ground[ground.Length - 1].transform.position.z + 40), ground[ground.Length - 1].transform.rotation);
|
Instantiate(loadFrom[random], new Vector3(0,0, ground[ground.Length-1].transform.position.z + 40), ground[ground.Length-1].transform.rotation);
|
||||||
groundCounter++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -13,12 +13,14 @@ public class DatabaseData : MonoBehaviour
|
|||||||
public PlayerList players; //jatekos adatok
|
public PlayerList players; //jatekos adatok
|
||||||
public HighScoreTableDataContainer htdc; //itt van a tomb
|
public HighScoreTableDataContainer htdc; //itt van a tomb
|
||||||
public HighScoreTable hst; //high score table ui
|
public HighScoreTable hst; //high score table ui
|
||||||
|
|
||||||
|
private StreamWriter writer;
|
||||||
|
public string jsondata; //json szoveg
|
||||||
|
|
||||||
private CoinCounter coinc;
|
private CoinCounter coinc;
|
||||||
|
|
||||||
public string jsondata; //json szoveg
|
|
||||||
public ulong coins = 0;
|
public ulong coins = 0;
|
||||||
|
|
||||||
private UnityWebRequest uwr;
|
|
||||||
|
|
||||||
private bool forceLocalUrl = true;
|
private bool forceLocalUrl = true;
|
||||||
private const int PORT = 24002;
|
private const int PORT = 24002;
|
||||||
@@ -29,8 +31,6 @@ public class DatabaseData : MonoBehaviour
|
|||||||
private string url = "nodejs.dszcbaross.edu.hu:" + PORT.ToString();
|
private string url = "nodejs.dszcbaross.edu.hu:" + PORT.ToString();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public UnityWebRequest GetUnityWebRequest(){ return uwr; }
|
|
||||||
|
|
||||||
private void Awake() {
|
private void Awake() {
|
||||||
hst = FindObjectOfType<HighScoreTable>(); //High Score Table referencia
|
hst = FindObjectOfType<HighScoreTable>(); //High Score Table referencia
|
||||||
htdc = new HighScoreTableDataContainer(); //High Score Table Container objektum
|
htdc = new HighScoreTableDataContainer(); //High Score Table Container objektum
|
||||||
@@ -82,12 +82,11 @@ public class DatabaseData : MonoBehaviour
|
|||||||
//fuggvenyek amik meghivjak a rutint
|
//fuggvenyek amik meghivjak a rutint
|
||||||
public void GetPlayerData() => StartCoroutine(IGetPlayerData());
|
public void GetPlayerData() => StartCoroutine(IGetPlayerData());
|
||||||
public void GetHighScoreData() => StartCoroutine(IGetHighScoreData());
|
public void GetHighScoreData() => StartCoroutine(IGetHighScoreData());
|
||||||
public void PostNewPlayerData(string postusername) => StartCoroutine(IPostNewPlayerData(postusername));
|
public void PostNewPlayerData() => StartCoroutine(IPostNewPlayerData());
|
||||||
public void PostNewScoreData(int playerid, ulong score, string time) => StartCoroutine(IPostNewScoreData(playerid, score, time));
|
public void PostNewScoreData(int playerid, ulong score, string time) => StartCoroutine(IPostNewScoreData(playerid, score, time));
|
||||||
public void PostNewPalyaData() => StartCoroutine(IPostNewPalyaData());
|
public void PostNewPalyaData() => StartCoroutine(IPostNewPalyaData());
|
||||||
|
|
||||||
public void GetCoinDataCall(int userid) => StartCoroutine(GetCoinData(userid));
|
public void GetCoinDataCall(int userid) => StartCoroutine(GetCoinData(userid));
|
||||||
public void PostUpdateCoinData(ulong coins, int userid) => StartCoroutine(IPostUpdateCoinData(coins, userid));
|
|
||||||
public void PostNewCoinData(ulong coins, int userid) => StartCoroutine(IPostNewCoinData(coins, userid));
|
public void PostNewCoinData(ulong coins, int userid) => StartCoroutine(IPostNewCoinData(coins, userid));
|
||||||
|
|
||||||
public ulong GetCoins(int userid){
|
public ulong GetCoins(int userid){
|
||||||
@@ -101,7 +100,7 @@ public class DatabaseData : MonoBehaviour
|
|||||||
private IEnumerator GetCoinData(int userid){
|
private IEnumerator GetCoinData(int userid){
|
||||||
string uri = url + "/coinget";
|
string uri = url + "/coinget";
|
||||||
|
|
||||||
uwr = new UnityWebRequest(uri, "GET");
|
var uwr = new UnityWebRequest(uri, "GET");
|
||||||
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+userid+"}");
|
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+userid+"}");
|
||||||
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend);
|
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend);
|
||||||
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
||||||
@@ -138,11 +137,11 @@ public class DatabaseData : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
//input.text = "";
|
//input.text = "";
|
||||||
/*foreach(var p in players.player) {
|
foreach(var p in players.player) {
|
||||||
p.ConvertDate();
|
p.ConvertDate();
|
||||||
//adatok kiirasa kepernyore
|
//adatok kiirasa kepernyore
|
||||||
//input.text += "p_id: " + p.player_id + " username: " + p.player_name + " join date: " + p.joindate.printDate() + "\n";
|
//input.text += "p_id: " + p.player_id + " username: " + p.player_name + " join date: " + p.joindate.printDate() + "\n";
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -152,7 +151,7 @@ public class DatabaseData : MonoBehaviour
|
|||||||
private IEnumerator IGetCurretPlayer(int userid){
|
private IEnumerator IGetCurretPlayer(int userid){
|
||||||
string uri = url + "/currentplayer";
|
string uri = url + "/currentplayer";
|
||||||
|
|
||||||
uwr = new UnityWebRequest(uri, "POST");
|
var uwr = new UnityWebRequest(uri, "POST");
|
||||||
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+userid+"}"); //palya id megadasa
|
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+userid+"}"); //palya id megadasa
|
||||||
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend); //felkuldi a palya id-t
|
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend); //felkuldi a palya id-t
|
||||||
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
||||||
@@ -176,7 +175,7 @@ public class DatabaseData : MonoBehaviour
|
|||||||
private IEnumerator IGetHighScoreData(){
|
private IEnumerator IGetHighScoreData(){
|
||||||
string uri = url + "/toplist";
|
string uri = url + "/toplist";
|
||||||
|
|
||||||
uwr = new UnityWebRequest(uri, "GET");
|
var uwr = new UnityWebRequest(uri, "GET");
|
||||||
//byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+palya_id+"}"); //palya id megadasa
|
//byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+palya_id+"}"); //palya id megadasa
|
||||||
//uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend); //felkuldi a palya id-t
|
//uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend); //felkuldi a palya id-t
|
||||||
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
||||||
@@ -199,7 +198,7 @@ public class DatabaseData : MonoBehaviour
|
|||||||
private IEnumerator IGetHighScoreDataNew(){
|
private IEnumerator IGetHighScoreDataNew(){
|
||||||
string uri = url + "/toplist";
|
string uri = url + "/toplist";
|
||||||
|
|
||||||
uwr = new UnityWebRequest(uri, "GET");
|
var uwr = new UnityWebRequest(uri, "GET");
|
||||||
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
||||||
uwr.SetRequestHeader("Content-Type", "application/json");
|
uwr.SetRequestHeader("Content-Type", "application/json");
|
||||||
|
|
||||||
@@ -220,7 +219,7 @@ public class DatabaseData : MonoBehaviour
|
|||||||
private IEnumerator IGetPlayerCoins(string username){
|
private IEnumerator IGetPlayerCoins(string username){
|
||||||
string uri = url + "/coinget";
|
string uri = url + "/coinget";
|
||||||
|
|
||||||
uwr = new UnityWebRequest(uri, "POST");
|
var uwr = new UnityWebRequest(uri, "POST");
|
||||||
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+username+"}"); //palya id megadasa
|
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+username+"}"); //palya id megadasa
|
||||||
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend); //felkuldi a palya id-t
|
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend); //felkuldi a palya id-t
|
||||||
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
||||||
@@ -238,13 +237,13 @@ public class DatabaseData : MonoBehaviour
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
private IEnumerator IPostNewPlayerData(string postusername) {
|
private IEnumerator IPostNewPlayerData() {
|
||||||
//input.text = "loading...";
|
//input.text = "loading...";
|
||||||
|
|
||||||
string uri = url + "/newplayer";
|
string uri = url + "/newplayer";
|
||||||
|
|
||||||
uwr = new UnityWebRequest(uri, "POST"); //post beallitasa
|
var uwr = new UnityWebRequest(uri, "POST"); //post beallitasa
|
||||||
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":\""+postusername+"\"}"); //felviteli json
|
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{ \"bevitel1\":\"postusername\"}"); //felviteli json
|
||||||
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend);
|
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend);
|
||||||
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
||||||
uwr.SetRequestHeader("Content-Type", "application/json");
|
uwr.SetRequestHeader("Content-Type", "application/json");
|
||||||
@@ -256,26 +255,6 @@ public class DatabaseData : MonoBehaviour
|
|||||||
} else {
|
} else {
|
||||||
//input.text = uwr.downloadHandler.text; //vissza erzkezes arrol hogy sikeres a felvitel vagy nem
|
//input.text = uwr.downloadHandler.text; //vissza erzkezes arrol hogy sikeres a felvitel vagy nem
|
||||||
Debug.Log(uwr.downloadHandler.text);
|
Debug.Log(uwr.downloadHandler.text);
|
||||||
|
|
||||||
//hozzon letre uj coin adatot hogy a coinba ne ures adattal terjen vissza
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private IEnumerator IPostNewCoinData(ulong coins, int userid) {
|
|
||||||
string uri = url + "/newcoin";
|
|
||||||
|
|
||||||
uwr = new UnityWebRequest(uri, "POST"); //post beallitasa
|
|
||||||
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+userid+",\"bevitel2\":"+coins+"}"); //felviteli json
|
|
||||||
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend);
|
|
||||||
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
|
||||||
uwr.SetRequestHeader("Content-Type", "application/json");
|
|
||||||
|
|
||||||
yield return uwr.SendWebRequest();
|
|
||||||
|
|
||||||
if (uwr.isNetworkError) {
|
|
||||||
Debug.Log(uwr.error);
|
|
||||||
} else {
|
|
||||||
Debug.Log(uwr.downloadHandler.text);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -289,7 +268,7 @@ public class DatabaseData : MonoBehaviour
|
|||||||
//ha van akkor akkor lekeri az id-t es ideiglenesen tarolja
|
//ha van akkor akkor lekeri az id-t es ideiglenesen tarolja
|
||||||
|
|
||||||
|
|
||||||
uwr = new UnityWebRequest(uri, "POST");
|
var uwr = new UnityWebRequest(uri, "POST");
|
||||||
byte[] jsonToSend =
|
byte[] jsonToSend =
|
||||||
new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+playerid+",\"bevitel2\":"+score+",\"bevitel3\":\""+time+"\"}");
|
new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+playerid+",\"bevitel2\":"+score+",\"bevitel3\":\""+time+"\"}");
|
||||||
//playerid, points, time
|
//playerid, points, time
|
||||||
@@ -313,7 +292,7 @@ public class DatabaseData : MonoBehaviour
|
|||||||
|
|
||||||
string uri = url + "/newpalya";
|
string uri = url + "/newpalya";
|
||||||
|
|
||||||
uwr = new UnityWebRequest(uri, "POST");
|
var uwr = new UnityWebRequest(uri, "POST");
|
||||||
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{ \"bevitel1\":\"Easy3\"}");
|
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{ \"bevitel1\":\"Easy3\"}");
|
||||||
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend);
|
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend);
|
||||||
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
||||||
@@ -329,10 +308,10 @@ public class DatabaseData : MonoBehaviour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private IEnumerator IPostUpdateCoinData(ulong coins, int userid) {
|
private IEnumerator IPostNewCoinData(ulong coins, int userid) {
|
||||||
string uri = url + "/coinUpdate";
|
string uri = url + "/coinUpdate";
|
||||||
|
|
||||||
uwr = new UnityWebRequest(uri, "POST");
|
var uwr = new UnityWebRequest(uri, "POST");
|
||||||
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+coins+",\"bevitel2\":"+userid+"}");
|
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+coins+",\"bevitel2\":"+userid+"}");
|
||||||
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend);
|
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend);
|
||||||
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
||||||
|
|||||||
@@ -19,9 +19,6 @@ public class PlayerController : MonoBehaviour
|
|||||||
private Vector2 startTouchPosition; //erintes kezdo pozicio
|
private Vector2 startTouchPosition; //erintes kezdo pozicio
|
||||||
private Vector2 endTouchPosition; //erintes vegpozicio
|
private Vector2 endTouchPosition; //erintes vegpozicio
|
||||||
|
|
||||||
[SerializeField] private Button buttonControl;
|
|
||||||
[SerializeField] private Button swipeControl;
|
|
||||||
|
|
||||||
public ControlType activeControllType; //ezt kell atallitani hogy swipe-os vagy button-os legyen a mozgas
|
public ControlType activeControllType; //ezt kell atallitani hogy swipe-os vagy button-os legyen a mozgas
|
||||||
|
|
||||||
public Button leftButton;
|
public Button leftButton;
|
||||||
@@ -38,30 +35,13 @@ public class PlayerController : MonoBehaviour
|
|||||||
cc = FindObjectOfType<CameraController>(); //kamera vezerlo referencia
|
cc = FindObjectOfType<CameraController>(); //kamera vezerlo referencia
|
||||||
isGrounded = FindObjectOfType<IsGrounded>();
|
isGrounded = FindObjectOfType<IsGrounded>();
|
||||||
|
|
||||||
if(activeControllType == ControlType.Swipe){
|
//activeControllType = ControlType.Button;
|
||||||
SwipeControl();
|
|
||||||
}
|
|
||||||
if(activeControllType == ControlType.Button){
|
|
||||||
ButtonControl();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setControllType(ControlType controlltype){
|
public void setControllType(ControlType controlltype){
|
||||||
activeControllType = controlltype;
|
activeControllType = controlltype;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ButtonControl(){
|
|
||||||
setControllType(ControlType.Button);
|
|
||||||
swipeControl.image.color = Color.white;
|
|
||||||
buttonControl.image.color = Color.red;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SwipeControl(){
|
|
||||||
setControllType(ControlType.Swipe);
|
|
||||||
swipeControl.image.color = Color.red;
|
|
||||||
buttonControl.image.color = Color.white;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Update(){
|
private void Update(){
|
||||||
|
|
||||||
if(activeControllType == ControlType.Swipe){
|
if(activeControllType == ControlType.Swipe){
|
||||||
|
|||||||
@@ -10,11 +10,11 @@ public class Score : MonoBehaviour
|
|||||||
|
|
||||||
private void Awake() {
|
private void Awake() {
|
||||||
score = 0;
|
score = 0;
|
||||||
scoreUI.text = score.ToString();
|
scoreUI.text = "Score: " + score.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addScore(ulong number){
|
public void addScore(ulong number){
|
||||||
score += number;
|
score += number;
|
||||||
scoreUI.text = score.ToString();
|
scoreUI.text = "Score: " + score.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -24,12 +24,9 @@ public class UsernameHandler : MonoBehaviour
|
|||||||
private void Awake() {
|
private void Awake() {
|
||||||
input.gameObject.SetActive(false);
|
input.gameObject.SetActive(false);
|
||||||
inputBackground.SetActive(false);
|
inputBackground.SetActive(false);
|
||||||
|
|
||||||
path = Application.persistentDataPath + "/username.txt";
|
path = Application.persistentDataPath + "/username.txt";
|
||||||
|
|
||||||
cc = FindObjectOfType<CoinCounter>();
|
cc = FindObjectOfType<CoinCounter>();
|
||||||
db = FindObjectOfType<DatabaseData>();
|
db = FindObjectOfType<DatabaseData>();
|
||||||
|
|
||||||
db.GetPlayerData();
|
db.GetPlayerData();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -38,12 +35,9 @@ public class UsernameHandler : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void ReadUsername(string username){ //kiirja az inputbol kapott usernevet fajlba
|
||||||
public void CallReadUsername(string username) => StartCoroutine(ReadUsername(username));
|
|
||||||
|
|
||||||
private IEnumerator ReadUsername(string username){ //kiirja az inputbol kapott usernevet fajlba
|
|
||||||
this.username = username;
|
this.username = username;
|
||||||
Debug.Log("username" + this.username);
|
Debug.Log(this.username);
|
||||||
|
|
||||||
writer = new StreamWriter(path, false, Encoding.Default);
|
writer = new StreamWriter(path, false, Encoding.Default);
|
||||||
writer.Write(username);
|
writer.Write(username);
|
||||||
@@ -53,33 +47,16 @@ public class UsernameHandler : MonoBehaviour
|
|||||||
inputBackground.SetActive(false);
|
inputBackground.SetActive(false);
|
||||||
usernameInputCanvas.gameObject.SetActive(false);
|
usernameInputCanvas.gameObject.SetActive(false);
|
||||||
|
|
||||||
db.PostNewPlayerData(username); //nincs meg ilyen username az adatbazisba ezert vigye fel uj kent
|
getId();
|
||||||
|
|
||||||
Debug.Log("<color=red>uwr before:</color>" + db.GetUnityWebRequest().downloadHandler.text);
|
|
||||||
yield return new WaitUntil(() => db.GetUnityWebRequest().downloadHandler.text.Equals("Uj username!"));
|
|
||||||
Debug.Log("<color=red>uwr after:</color>" + db.GetUnityWebRequest().downloadHandler.text);
|
|
||||||
|
|
||||||
|
|
||||||
//eltarol playerek frissitese
|
|
||||||
db.players.player = null;
|
|
||||||
db.GetPlayerData();
|
|
||||||
yield return new WaitUntil(() => db.players.player != null); //varjon amig lekeri az adatokat
|
|
||||||
|
|
||||||
getId(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void getId(bool newuser){
|
private void getId(){
|
||||||
foreach(var item in db.players.player){
|
foreach(var item in db.players.player){
|
||||||
if(item.player_name.Equals(username)){
|
if(item.player_name.Equals(username)){
|
||||||
userid = item.player_id;
|
userid = item.player_id;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(newuser){
|
|
||||||
db.PostNewCoinData(0, userid); //ne uressel terjen vissza
|
|
||||||
}
|
|
||||||
|
|
||||||
db.GetCoinDataCall(userid);
|
db.GetCoinDataCall(userid);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,7 +89,7 @@ public class UsernameHandler : MonoBehaviour
|
|||||||
username = data;
|
username = data;
|
||||||
Debug.Log("username: " + username);
|
Debug.Log("username: " + username);
|
||||||
|
|
||||||
getId(false);
|
getId();
|
||||||
|
|
||||||
//StartCoroutine(waitForCoins());
|
//StartCoroutine(waitForCoins());
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,6 @@ using TMPro;
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
using UnityEngine.Audio;
|
|
||||||
using Cinemachine;
|
|
||||||
|
|
||||||
public class jatekmanager : MonoBehaviour
|
public class jatekmanager : MonoBehaviour
|
||||||
{
|
{
|
||||||
@@ -18,21 +16,16 @@ public class jatekmanager : MonoBehaviour
|
|||||||
public static event Action<GameState> OnGameStateChanged;
|
public static event Action<GameState> OnGameStateChanged;
|
||||||
|
|
||||||
//gameobjectek,gombok,scriptek
|
//gameobjectek,gombok,scriptek
|
||||||
public GameObject playGomb;
|
public GameObject playButton;
|
||||||
public GameObject garazs;
|
public GameObject garazs;
|
||||||
public GameObject homeGomb;
|
public GameObject homeGomb;
|
||||||
public GameObject settingsGomb;
|
public GameObject settingsGomb;
|
||||||
public GameObject shopGomb;
|
public GameObject shopGomb;
|
||||||
public GameObject volumeSlide;
|
|
||||||
public GameObject musicSlide;
|
|
||||||
public GameObject sfxSlide;
|
|
||||||
|
|
||||||
public GameObject goLeftButton;
|
public GameObject goLeftButton;
|
||||||
public GameObject jumpButton;
|
public GameObject jumpButton;
|
||||||
public GameObject goRightButton;
|
public GameObject goRightButton;
|
||||||
|
|
||||||
public GameObject boby;
|
|
||||||
|
|
||||||
public TMP_Text scoreText;
|
public TMP_Text scoreText;
|
||||||
public TMP_Text timerText;
|
public TMP_Text timerText;
|
||||||
|
|
||||||
@@ -43,14 +36,6 @@ public class jatekmanager : MonoBehaviour
|
|||||||
private Timer timer;
|
private Timer timer;
|
||||||
private CoinCounter cc;
|
private CoinCounter cc;
|
||||||
|
|
||||||
[SerializeField] private GameObject controlTypeSwitcher;
|
|
||||||
|
|
||||||
[SerializeField] private CinemachineVirtualCamera homeCamera;
|
|
||||||
|
|
||||||
|
|
||||||
public AudioMixer audioMixer;
|
|
||||||
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
Application.targetFrameRate = 60;
|
Application.targetFrameRate = 60;
|
||||||
@@ -68,19 +53,6 @@ public class jatekmanager : MonoBehaviour
|
|||||||
UpdateGameState(GameState.Home);
|
UpdateGameState(GameState.Home);
|
||||||
}
|
}
|
||||||
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void UpdateGameState(GameState newState)
|
public void UpdateGameState(GameState newState)
|
||||||
{
|
{
|
||||||
State = newState;
|
State = newState;
|
||||||
@@ -124,21 +96,17 @@ public class jatekmanager : MonoBehaviour
|
|||||||
homeGomb.SetActive(true);
|
homeGomb.SetActive(true);
|
||||||
settingsGomb.SetActive(true);
|
settingsGomb.SetActive(true);
|
||||||
shopGomb.SetActive(true);
|
shopGomb.SetActive(true);
|
||||||
|
|
||||||
goLeftButton.SetActive(false);
|
goLeftButton.SetActive(false);
|
||||||
jumpButton.SetActive(false);
|
jumpButton.SetActive(false);
|
||||||
goRightButton.SetActive(false);
|
goRightButton.SetActive(false);
|
||||||
scoreText.gameObject.SetActive(false);
|
scoreText.gameObject.SetActive(false);
|
||||||
timerText.gameObject.SetActive(false);
|
timerText.gameObject.SetActive(false);
|
||||||
|
|
||||||
controlTypeSwitcher.SetActive(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void HandleHome()
|
private async void HandleHome()
|
||||||
{
|
{
|
||||||
//deactivate buttons
|
//deactivate buttons
|
||||||
StartCoroutine(TimerHome());
|
StartCoroutine(TimerHome());
|
||||||
playGomb.SetActive(true);
|
|
||||||
GetComponent<GroundController>().enabled = false;
|
GetComponent<GroundController>().enabled = false;
|
||||||
GetComponent<PlayerController>().enabled = false;
|
GetComponent<PlayerController>().enabled = false;
|
||||||
goLeftButton.SetActive(false);
|
goLeftButton.SetActive(false);
|
||||||
@@ -147,42 +115,27 @@ public class jatekmanager : MonoBehaviour
|
|||||||
scoreText.gameObject.SetActive(false);
|
scoreText.gameObject.SetActive(false);
|
||||||
timerText.gameObject.SetActive(false);
|
timerText.gameObject.SetActive(false);
|
||||||
garazs.SetActive(true);
|
garazs.SetActive(true);
|
||||||
volumeSlide.SetActive(false);
|
|
||||||
musicSlide.SetActive(false);
|
|
||||||
sfxSlide.SetActive(false);
|
|
||||||
controlTypeSwitcher.SetActive(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IEnumerator TimerHome()
|
IEnumerator TimerHome()
|
||||||
{
|
{
|
||||||
yield return new WaitForSecondsRealtime(2);
|
yield return new WaitForSecondsRealtime(2);
|
||||||
|
playButton.SetActive(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ChangeToSettings()
|
public void ChangeToSettings()
|
||||||
{
|
{
|
||||||
UpdateGameState(GameState.Settings);
|
UpdateGameState(GameState.Settings);
|
||||||
playGomb.SetActive(false);
|
|
||||||
volumeSlide.SetActive(true);
|
|
||||||
musicSlide.SetActive(true);
|
|
||||||
sfxSlide.SetActive(true);
|
|
||||||
controlTypeSwitcher.SetActive(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void HandleSettings()
|
private async void HandleSettings()
|
||||||
{
|
{
|
||||||
playGomb.SetActive(false);
|
playButton.SetActive(false);
|
||||||
goLeftButton.SetActive(false);
|
goLeftButton.SetActive(false);
|
||||||
jumpButton.SetActive(false);
|
jumpButton.SetActive(false);
|
||||||
goRightButton.SetActive(false);
|
goRightButton.SetActive(false);
|
||||||
scoreText.gameObject.SetActive(false);
|
scoreText.gameObject.SetActive(false);
|
||||||
timerText.gameObject.SetActive(false);
|
timerText.gameObject.SetActive(false);
|
||||||
playGomb.SetActive(false);
|
|
||||||
volumeSlide.SetActive(false);
|
|
||||||
musicSlide.SetActive(false);
|
|
||||||
sfxSlide.SetActive(false);
|
|
||||||
controlTypeSwitcher.SetActive(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ChangeToShop()
|
public void ChangeToShop()
|
||||||
@@ -192,56 +145,42 @@ public class jatekmanager : MonoBehaviour
|
|||||||
|
|
||||||
private async void HandleShop()
|
private async void HandleShop()
|
||||||
{
|
{
|
||||||
playGomb.SetActive(false);
|
playButton.SetActive(false);
|
||||||
goLeftButton.SetActive(false);
|
goLeftButton.SetActive(false);
|
||||||
jumpButton.SetActive(false);
|
jumpButton.SetActive(false);
|
||||||
goRightButton.SetActive(false);
|
goRightButton.SetActive(false);
|
||||||
scoreText.gameObject.SetActive(false);
|
scoreText.gameObject.SetActive(false);
|
||||||
timerText.gameObject.SetActive(false);
|
timerText.gameObject.SetActive(false);
|
||||||
volumeSlide.SetActive(false);
|
|
||||||
musicSlide.SetActive(false);
|
|
||||||
sfxSlide.SetActive(false);
|
|
||||||
controlTypeSwitcher.SetActive(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ChangeToGame()
|
public void ChangeToGame()
|
||||||
{
|
{
|
||||||
homeCamera.m_Lens.NearClipPlane = 0.3f;
|
|
||||||
|
|
||||||
homeGomb.SetActive(false);
|
homeGomb.SetActive(false);
|
||||||
settingsGomb.SetActive(false);
|
settingsGomb.SetActive(false);
|
||||||
shopGomb.SetActive(false);
|
shopGomb.SetActive(false);
|
||||||
playGomb.SetActive(false);
|
playButton.SetActive(false);
|
||||||
UpdateGameState(GameState.Game);
|
UpdateGameState(GameState.Game);
|
||||||
volumeSlide.SetActive(false);
|
|
||||||
musicSlide.SetActive(false);
|
|
||||||
sfxSlide.SetActive(false);
|
|
||||||
controlTypeSwitcher.SetActive(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IEnumerator TimerGame()
|
IEnumerator TimerGame()
|
||||||
{
|
{
|
||||||
yield return new WaitForSecondsRealtime(1);
|
yield return new WaitForSecondsRealtime(1);
|
||||||
garazs.SetActive(false);
|
garazs.SetActive(false);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void HandleGame()
|
private async void HandleGame()
|
||||||
{
|
{
|
||||||
StartCoroutine(TimerGame());
|
StartCoroutine(TimerGame());
|
||||||
|
|
||||||
boby.transform.position = new Vector3(0, boby.transform.position.y, boby.transform.position.z);
|
GetComponent <GroundController> ().enabled = true;
|
||||||
|
GetComponent <PlayerController>().enabled = true;
|
||||||
GetComponent<GroundController> ().enabled = true;
|
|
||||||
GetComponent<PlayerController>().enabled = true;
|
|
||||||
|
|
||||||
|
|
||||||
goLeftButton.SetActive(true);
|
goLeftButton.SetActive(true);
|
||||||
jumpButton.SetActive(true);
|
jumpButton.SetActive(true);
|
||||||
goRightButton.SetActive(true);
|
goRightButton.SetActive(true);
|
||||||
scoreText.gameObject.SetActive(true);
|
scoreText.gameObject.SetActive(true);
|
||||||
timerText.gameObject.SetActive(true);
|
timerText.gameObject.SetActive(true);
|
||||||
|
playButton.SetActive(false);
|
||||||
|
|
||||||
timer.playTime.Start();
|
timer.playTime.Start();
|
||||||
}
|
}
|
||||||
@@ -261,12 +200,12 @@ public class jatekmanager : MonoBehaviour
|
|||||||
db.PostNewScoreData(usernameHandler.userid, score.score, timer.convertTimeToString());
|
db.PostNewScoreData(usernameHandler.userid, score.score, timer.convertTimeToString());
|
||||||
|
|
||||||
//coin feltoltes
|
//coin feltoltes
|
||||||
db.PostUpdateCoinData(cc.coin, usernameHandler.userid);
|
db.PostNewCoinData(cc.coin, usernameHandler.userid);
|
||||||
|
|
||||||
SceneUIManager.LoadScene(1); //HighScore scene
|
SceneUIManager.LoadScene(1); //HighScore scene
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*playButton.SetActive(false);
|
||||||
homeGomb.SetActive(true);
|
homeGomb.SetActive(true);
|
||||||
GetComponent<GroundController>().enabled = false;
|
GetComponent<GroundController>().enabled = false;
|
||||||
GetComponent<PlayerController>().enabled = false;
|
GetComponent<PlayerController>().enabled = false;
|
||||||
|
|||||||
@@ -5,23 +5,15 @@ using UnityEngine;
|
|||||||
public class portal : MonoBehaviour
|
public class portal : MonoBehaviour
|
||||||
{
|
{
|
||||||
private GroundController gc;
|
private GroundController gc;
|
||||||
private int random;
|
// Start is called before the first frame update
|
||||||
|
|
||||||
void Awake()
|
void Awake()
|
||||||
{
|
{
|
||||||
gc = FindObjectOfType<GroundController>();
|
gc = FindObjectOfType<GroundController>();
|
||||||
|
|
||||||
random = UnityEngine.Random.Range(0, gc.materials.Length);
|
|
||||||
|
|
||||||
gameObject.GetComponent<MeshRenderer>().material = gc.materials[random];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnTriggerEnter(Collider other)
|
private void OnTriggerEnter(Collider other)
|
||||||
{
|
{
|
||||||
if(other.gameObject.tag.Equals("Player")){
|
gc.changeMaterialIndex();
|
||||||
gc.ChangeMaterial(gc.materials[random]);
|
|
||||||
//gc.ModuleColorChange();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: d60fcfdeb5dfdfd4a9f8ba42c2ee9d63
|
guid: 8b68b0bafebf84c4ba6c596ae4a3b7d2
|
||||||
MonoImporter:
|
MonoImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ PlayerSettings:
|
|||||||
16:10: 1
|
16:10: 1
|
||||||
16:9: 1
|
16:9: 1
|
||||||
Others: 1
|
Others: 1
|
||||||
bundleVersion: 1.0
|
bundleVersion: 0.6
|
||||||
preloadedAssets: []
|
preloadedAssets: []
|
||||||
metroInputSource: 0
|
metroInputSource: 0
|
||||||
wsaTransparentSwapchain: 0
|
wsaTransparentSwapchain: 0
|
||||||
@@ -817,7 +817,7 @@ PlayerSettings:
|
|||||||
allowUnsafeCode: 0
|
allowUnsafeCode: 0
|
||||||
useDeterministicCompilation: 1
|
useDeterministicCompilation: 1
|
||||||
enableRoslynAnalyzers: 1
|
enableRoslynAnalyzers: 1
|
||||||
selectedPlatform: 3
|
selectedPlatform: 2
|
||||||
additionalIl2CppArgs:
|
additionalIl2CppArgs:
|
||||||
scriptingRuntimeVersion: 1
|
scriptingRuntimeVersion: 1
|
||||||
gcIncremental: 1
|
gcIncremental: 1
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ TagManager:
|
|||||||
- Obstacle
|
- Obstacle
|
||||||
- Collectible
|
- Collectible
|
||||||
- DeathCollider
|
- DeathCollider
|
||||||
- SideObject
|
- Portal
|
||||||
layers:
|
layers:
|
||||||
- Default
|
- Default
|
||||||
- TransparentFX
|
- TransparentFX
|
||||||
|
|||||||
941
UserSettings/Layouts/default-2021.dwlt
Normal file
941
UserSettings/Layouts/default-2021.dwlt
Normal file
@@ -0,0 +1,941 @@
|
|||||||
|
%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: 12004, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_PixelRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 65
|
||||||
|
width: 1470
|
||||||
|
height: 811
|
||||||
|
m_ShowMode: 4
|
||||||
|
m_Title: Project
|
||||||
|
m_RootView: {fileID: 6}
|
||||||
|
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: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 9}
|
||||||
|
- {fileID: 3}
|
||||||
|
m_Position:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 30
|
||||||
|
width: 1470
|
||||||
|
height: 761
|
||||||
|
m_MinSize: {x: 300, y: 200}
|
||||||
|
m_MaxSize: {x: 24288, y: 16192}
|
||||||
|
vertical: 0
|
||||||
|
controlID: 18
|
||||||
|
--- !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: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Children: []
|
||||||
|
m_Position:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 1122.5
|
||||||
|
y: 0
|
||||||
|
width: 347.5
|
||||||
|
height: 761
|
||||||
|
m_MinSize: {x: 276, y: 71}
|
||||||
|
m_MaxSize: {x: 4001, y: 4021}
|
||||||
|
m_ActualView: {fileID: 14}
|
||||||
|
m_Panes:
|
||||||
|
- {fileID: 14}
|
||||||
|
m_Selected: 0
|
||||||
|
m_LastSelected: 0
|
||||||
|
--- !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: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Children: []
|
||||||
|
m_Position:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 278
|
||||||
|
height: 451
|
||||||
|
m_MinSize: {x: 201, y: 221}
|
||||||
|
m_MaxSize: {x: 4001, y: 4021}
|
||||||
|
m_ActualView: {fileID: 15}
|
||||||
|
m_Panes:
|
||||||
|
- {fileID: 15}
|
||||||
|
m_Selected: 0
|
||||||
|
m_LastSelected: 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: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_Name: ProjectBrowser
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Children: []
|
||||||
|
m_Position:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 451
|
||||||
|
width: 1122.5
|
||||||
|
height: 310
|
||||||
|
m_MinSize: {x: 231, y: 271}
|
||||||
|
m_MaxSize: {x: 10001, y: 10021}
|
||||||
|
m_ActualView: {fileID: 13}
|
||||||
|
m_Panes:
|
||||||
|
- {fileID: 13}
|
||||||
|
- {fileID: 17}
|
||||||
|
m_Selected: 0
|
||||||
|
m_LastSelected: 1
|
||||||
|
--- !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: 12008, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 7}
|
||||||
|
- {fileID: 2}
|
||||||
|
- {fileID: 8}
|
||||||
|
m_Position:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 1470
|
||||||
|
height: 811
|
||||||
|
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 &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: 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 &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: 12042, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Children: []
|
||||||
|
m_Position:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 791
|
||||||
|
width: 1470
|
||||||
|
height: 20
|
||||||
|
m_MinSize: {x: 0, y: 0}
|
||||||
|
m_MaxSize: {x: 0, y: 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: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 10}
|
||||||
|
- {fileID: 5}
|
||||||
|
m_Position:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 1122.5
|
||||||
|
height: 761
|
||||||
|
m_MinSize: {x: 200, y: 200}
|
||||||
|
m_MaxSize: {x: 16192, y: 16192}
|
||||||
|
vertical: 1
|
||||||
|
controlID: 19
|
||||||
|
--- !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: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 4}
|
||||||
|
- {fileID: 11}
|
||||||
|
m_Position:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 1122.5
|
||||||
|
height: 451
|
||||||
|
m_MinSize: {x: 200, y: 100}
|
||||||
|
m_MaxSize: {x: 16192, y: 8096}
|
||||||
|
vertical: 0
|
||||||
|
controlID: 20
|
||||||
|
--- !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: SimulatorWindow
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Children: []
|
||||||
|
m_Position:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 278
|
||||||
|
y: 0
|
||||||
|
width: 844.5
|
||||||
|
height: 451
|
||||||
|
m_MinSize: {x: 202, y: 221}
|
||||||
|
m_MaxSize: {x: 4002, y: 4021}
|
||||||
|
m_ActualView: {fileID: 12}
|
||||||
|
m_Panes:
|
||||||
|
- {fileID: 16}
|
||||||
|
- {fileID: 12}
|
||||||
|
m_Selected: 1
|
||||||
|
m_LastSelected: 0
|
||||||
|
--- !u!114 &12
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 52
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 13974, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_MinSize: {x: 200, y: 200}
|
||||||
|
m_MaxSize: {x: 4000, y: 4000}
|
||||||
|
m_TitleContent:
|
||||||
|
m_Text: Simulator
|
||||||
|
m_Image: {fileID: 8720083202187608617, guid: 0000000000000000d000000000000000, type: 0}
|
||||||
|
m_Tooltip:
|
||||||
|
m_Pos:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 278
|
||||||
|
y: 95
|
||||||
|
width: 842.5
|
||||||
|
height: 430
|
||||||
|
m_ViewDataDictionary: {fileID: 0}
|
||||||
|
m_OverlayCanvas:
|
||||||
|
m_LastAppliedPresetName: Default
|
||||||
|
m_SaveData: []
|
||||||
|
m_SerializedViewNames:
|
||||||
|
- UnityEditor.GameView
|
||||||
|
m_SerializedViewValues:
|
||||||
|
- /Users/bance/Documents/GitHub/PuzzleColorBall/Library/PlayModeViewStates/99f4d0265084f496ab243077ba40791d
|
||||||
|
m_PlayModeViewName: Device Simulator
|
||||||
|
m_ShowGizmos: 0
|
||||||
|
m_TargetDisplay: 0
|
||||||
|
m_ClearColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_TargetSize: {x: 1170, y: 2532}
|
||||||
|
m_TextureFilterMode: 0
|
||||||
|
m_TextureHideFlags: 61
|
||||||
|
m_RenderIMGUI: 1
|
||||||
|
m_EnterPlayModeBehavior: 2
|
||||||
|
m_UseMipMap: 0
|
||||||
|
m_SimulatorState:
|
||||||
|
controlPanelVisible: 0
|
||||||
|
controlPanelWidth: 0
|
||||||
|
controlPanelFoldoutKeys:
|
||||||
|
- UnityEditor.DeviceSimulation.ApplicationSettingsPlugin
|
||||||
|
controlPanelFoldoutValues: 00
|
||||||
|
pluginNames:
|
||||||
|
- UnityEditor.DeviceSimulation.ApplicationSettingsPlugin
|
||||||
|
pluginStates:
|
||||||
|
- '{}'
|
||||||
|
scale: 15
|
||||||
|
fitToScreenEnabled: 1
|
||||||
|
rotationDegree: 0
|
||||||
|
highlightSafeAreaEnabled: 0
|
||||||
|
friendlyName: Apple iPhone 13 Pro
|
||||||
|
networkReachability: 1
|
||||||
|
systemLanguage: 10
|
||||||
|
--- !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: 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: 546
|
||||||
|
width: 1121.5
|
||||||
|
height: 289
|
||||||
|
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/Resources/Prefabs/Modulok
|
||||||
|
m_Globs: []
|
||||||
|
m_OriginalText:
|
||||||
|
m_ViewMode: 1
|
||||||
|
m_StartGridSize: 64
|
||||||
|
m_LastFolders:
|
||||||
|
- Assets/Resources/Prefabs/Modulok
|
||||||
|
m_LastFoldersGridSize: -1
|
||||||
|
m_LastProjectPath: /Users/bance/Documents/GitHub/PuzzleColorBall
|
||||||
|
m_LockTracker:
|
||||||
|
m_IsLocked: 0
|
||||||
|
m_FolderTreeState:
|
||||||
|
scrollPos: {x: 0, y: 94.000305}
|
||||||
|
m_SelectedIDs: 0a630000
|
||||||
|
m_LastClickedID: 25354
|
||||||
|
m_ExpandedIDs: 00000000e6620000e8620000ea620000ec620000ee620000f062000000ca9a3bffffff7f
|
||||||
|
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: 5}
|
||||||
|
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: 00000000e6620000e8620000ea620000ec620000ee620000f0620000
|
||||||
|
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: c623000038a70000
|
||||||
|
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: 64
|
||||||
|
m_SkipHiddenPackages: 0
|
||||||
|
m_DirectoriesAreaWidth: 207
|
||||||
|
--- !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: 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: 1122.5
|
||||||
|
y: 95
|
||||||
|
width: 346.5
|
||||||
|
height: 740
|
||||||
|
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}
|
||||||
|
--- !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: 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: 277
|
||||||
|
height: 430
|
||||||
|
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: 7efaffff
|
||||||
|
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: 4}
|
||||||
|
m_SearchString:
|
||||||
|
m_ExpandedScenes: []
|
||||||
|
m_CurrenRootInstanceID: 0
|
||||||
|
m_LockTracker:
|
||||||
|
m_IsLocked: 0
|
||||||
|
m_CurrentSortingName: TransformSorting
|
||||||
|
m_WindowGUID: 4c969a2b90040154d917609493e03593
|
||||||
|
--- !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: 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: 278
|
||||||
|
y: 95
|
||||||
|
width: 842.5
|
||||||
|
height: 430
|
||||||
|
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: -224}
|
||||||
|
snapOffsetDelta: {x: 0, y: 0}
|
||||||
|
snapCorner: 3
|
||||||
|
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: 25}
|
||||||
|
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: 25}
|
||||||
|
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: 25}
|
||||||
|
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
|
||||||
|
m_WindowGUID: cc27987af1a868c49b0894db9c0f5429
|
||||||
|
m_Gizmos: 1
|
||||||
|
m_OverrideSceneCullingMask: 6917529027641081856
|
||||||
|
m_SceneIsLit: 1
|
||||||
|
m_SceneLighting: 1
|
||||||
|
m_2DMode: 0
|
||||||
|
m_isRotationLocked: 0
|
||||||
|
m_PlayAudio: 0
|
||||||
|
m_AudioPlay: 0
|
||||||
|
m_Position:
|
||||||
|
m_Target: {x: 0, y: 0, z: 0}
|
||||||
|
speed: 2
|
||||||
|
m_Value: {x: -274.5244, y: -38.133194, z: -64.5328}
|
||||||
|
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: 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}
|
||||||
|
m_ShowGrid: 0
|
||||||
|
m_GridAxis: 1
|
||||||
|
m_gridOpacity: 0.5
|
||||||
|
m_Rotation:
|
||||||
|
m_Target: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
|
||||||
|
speed: 2
|
||||||
|
m_Value: {x: -0.04655205, y: 0.76271147, z: -0.05524802, w: -0.64268506}
|
||||||
|
m_Size:
|
||||||
|
m_Target: 10
|
||||||
|
speed: 2
|
||||||
|
m_Value: 142.08177
|
||||||
|
m_Ortho:
|
||||||
|
m_Target: 0
|
||||||
|
speed: 2
|
||||||
|
m_Value: 0
|
||||||
|
m_CameraSettings:
|
||||||
|
m_Speed: 1.002499
|
||||||
|
m_SpeedNormalized: 0.501
|
||||||
|
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, y: 0, z: 0, w: 0}
|
||||||
|
m_LastSceneViewOrtho: 0
|
||||||
|
m_ReplacementShader: {fileID: 0}
|
||||||
|
m_ReplacementString:
|
||||||
|
m_SceneVisActive: 1
|
||||||
|
m_LastLockedObject: {fileID: 0}
|
||||||
|
m_ViewIsLockedToObject: 0
|
||||||
|
--- !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: 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: 546
|
||||||
|
width: 1121.5
|
||||||
|
height: 289
|
||||||
|
m_ViewDataDictionary: {fileID: 0}
|
||||||
|
m_OverlayCanvas:
|
||||||
|
m_LastAppliedPresetName: Default
|
||||||
|
m_SaveData: []
|
||||||
Reference in New Issue
Block a user