Commit 2d629868 authored by Christopher Benes's avatar Christopher Benes
Browse files

Levels 12+13 gebaut

parent e7fc9a44
......@@ -35,13 +35,13 @@ Transform:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1521254065627932}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalRotation: {x: 0, y: 0, z: -0.7071068, w: 0.7071068}
m_LocalPosition: {x: 4.5, y: 3.5, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: -90}
--- !u!61 &61691852140043604
BoxCollider2D:
m_ObjectHideFlags: 1
......@@ -78,14 +78,41 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 55b68056577026e44b7d319a7f3b39ca, type: 3}
m_Name:
m_EditorClassIdentifier:
orientation: 0
orientation: 1
isActive: 1
render: {fileID: 212957663310684812}
active: {fileID: 21300000, guid: 374b27b0687460147a8cf9c209bd57a1, type: 3}
inactive: {fileID: 21300000, guid: 379252a208cb8c44e9e7354000bcb548, type: 3}
onInteract:
m_PersistentCalls:
m_Calls: []
m_Calls:
- m_Target: {fileID: 0}
m_MethodName: SetState
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_TypeName: InteractibleLever+BoolEvent, Assembly-CSharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null
onInteractInversed:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_MethodName: SetState
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_TypeName: InteractibleLever+BoolEvent, Assembly-CSharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null
--- !u!212 &212957663310684812
......@@ -120,11 +147,11 @@ SpriteRenderer:
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 1393728747
m_SortingLayer: 1
m_SortingLayerID: 1483109359
m_SortingLayer: 4
m_SortingOrder: 1
m_Sprite: {fileID: 21300000, guid: 374b27b0687460147a8cf9c209bd57a1, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Color: {r: 0.9811321, g: 0.9811321, b: 0.9811321, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
......
......@@ -54,6 +54,8 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 4985997612340110}
- component: {fileID: 114448520176699186}
- component: {fileID: 114080176260972466}
m_Layer: 11
m_Name: LaserBeam
m_TagString: Untagged
......@@ -284,7 +286,7 @@ BoxCollider2D:
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1, y: 0.5}
m_Size: {x: 1, y: 0.2}
m_EdgeRadius: 0
--- !u!61 &61333349036963986
BoxCollider2D:
......@@ -309,7 +311,7 @@ BoxCollider2D:
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1, y: 0.5}
m_Size: {x: 1, y: 0.2}
m_EdgeRadius: 0
--- !u!61 &61426167084532150
BoxCollider2D:
......@@ -334,7 +336,7 @@ BoxCollider2D:
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1, y: 0.5}
m_Size: {x: 1, y: 0.2}
m_EdgeRadius: 0
--- !u!61 &61443994513802736
BoxCollider2D:
......@@ -359,7 +361,7 @@ BoxCollider2D:
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1, y: 0.5}
m_Size: {x: 1, y: 0.2}
m_EdgeRadius: 0
--- !u!61 &61530679369508676
BoxCollider2D:
......@@ -384,7 +386,7 @@ BoxCollider2D:
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1, y: 0.5}
m_Size: {x: 1, y: 0.2}
m_EdgeRadius: 0
--- !u!61 &61752228510378314
BoxCollider2D:
......@@ -409,7 +411,7 @@ BoxCollider2D:
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1, y: 0.5}
m_Size: {x: 1, y: 0.2}
m_EdgeRadius: 0
--- !u!61 &61990730709791028
BoxCollider2D:
......@@ -434,7 +436,7 @@ BoxCollider2D:
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1, y: 0.5}
m_Size: {x: 1, y: 0.2}
m_EdgeRadius: 0
--- !u!95 &95027240990399268
Animator:
......@@ -526,6 +528,66 @@ Animator:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!114 &114080176260972466
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1593499445172328}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ceb8b17d77c0a574d9ed60591ebd9a60, type: 3}
m_Name:
m_EditorClassIdentifier:
active: {fileID: 21300000, guid: 1f2c9b781712a6d42a52a75f9a150245, type: 3}
inactive: {fileID: 21300000, guid: 00a83d3ae53fae5418a7df2df6f95c84, type: 3}
endpoints:
- {fileID: 212727107471239550}
- {fileID: 212138761282585792}
laserRenderer:
- {fileID: 212144165473829906}
- {fileID: 212438536138190148}
- {fileID: 212749986602434170}
- {fileID: 212261642747272290}
- {fileID: 212651597216899730}
lasercollider:
- {fileID: 61443994513802736}
- {fileID: 61530679369508676}
- {fileID: 61752228510378314}
- {fileID: 61426167084532150}
- {fileID: 61215186839775454}
- {fileID: 61333349036963986}
- {fileID: 61990730709791028}
--- !u!114 &114448520176699186
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1593499445172328}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3bee911a8822169419481ec225f9993a, type: 3}
m_Name:
m_EditorClassIdentifier:
isActive: 1
onDuration: 0
offDuration: 0
onStateChange:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 114080176260972466}
m_MethodName: SetState
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_TypeName: TimedToggle+BoolEvent, Assembly-CSharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null
--- !u!212 &212138761282585792
SpriteRenderer:
m_ObjectHideFlags: 1
......@@ -561,7 +623,7 @@ SpriteRenderer:
m_SortingLayerID: 1483109359
m_SortingLayer: 4
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: c9ddfd0871070d44997a1ed56d68ec98, type: 3}
m_Sprite: {fileID: 21300000, guid: 1f2c9b781712a6d42a52a75f9a150245, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
......@@ -791,7 +853,7 @@ SpriteRenderer:
m_SortingLayerID: 1483109359
m_SortingLayer: 4
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: c9ddfd0871070d44997a1ed56d68ec98, type: 3}
m_Sprite: {fileID: 21300000, guid: 1f2c9b781712a6d42a52a75f9a150245, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
......
This diff is collapsed.
fileFormatVersion: 2
guid: 46cd98e9487c65a4eb58290806b0e696
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
......@@ -2744,6 +2744,81 @@ Prefab:
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 1f647ccd4a32a4846acfb59c953d5cfe, type: 2}
m_IsPrefabAsset: 0
--- !u!1 &759918054
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 759918056}
- component: {fileID: 759918055}
m_Layer: 0
m_Name: HintSign (2)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!212 &759918055
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 759918054}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 4294967295
m_Materials:
- {fileID: 2100000, guid: d911e8417c2dca64195f1043c6a3b390, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 1393728747
m_SortingLayer: 1
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: 47c227cc60413924aa62e244a0219b8d, type: 3}
m_Color: {r: 0.8301887, g: 0.8301887, b: 0.8301887, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 2, y: 2}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!4 &759918056
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 759918054}
m_LocalRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071068}
m_LocalPosition: {x: 19.17, y: 10.05, z: -0.052734375}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90}
--- !u!1001 &904505988
Prefab:
m_ObjectHideFlags: 0
......
This diff is collapsed.
......@@ -20,7 +20,7 @@ RenderSettings:
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 1, g: 1, b: 1, a: 1}
m_AmbientSkyColor: {r: 0, g: 0, b: 0, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
......@@ -10251,7 +10251,7 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 4985997612340110, guid: 9c07364efcb415146945e77d21a3d85e, type: 2}
propertyPath: m_LocalPosition.y
value: 3
value: 2.5
objectReference: {fileID: 0}
- target: {fileID: 4985997612340110, guid: 9c07364efcb415146945e77d21a3d85e, type: 2}
propertyPath: m_LocalPosition.z
......@@ -10285,6 +10285,21 @@ Prefab:
propertyPath: m_LocalPosition.x
value: 6
objectReference: {fileID: 0}
- target: {fileID: 114448520176699186, guid: 9c07364efcb415146945e77d21a3d85e,
type: 2}
propertyPath: onDuration
value: 2
objectReference: {fileID: 0}
- target: {fileID: 114448520176699186, guid: 9c07364efcb415146945e77d21a3d85e,
type: 2}
propertyPath: offDuration
value: 4.5
objectReference: {fileID: 0}
- target: {fileID: 114448520176699186, guid: 9c07364efcb415146945e77d21a3d85e,
type: 2}
propertyPath: isActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9c07364efcb415146945e77d21a3d85e, type: 2}
m_IsPrefabAsset: 0
......@@ -10297,7 +10312,7 @@ Prefab:
m_Modifications:
- target: {fileID: 4985997612340110, guid: 9c07364efcb415146945e77d21a3d85e, type: 2}
propertyPath: m_LocalPosition.x
value: -1
value: -1.5
objectReference: {fileID: 0}
- target: {fileID: 4985997612340110, guid: 9c07364efcb415146945e77d21a3d85e, type: 2}
propertyPath: m_LocalPosition.y
......@@ -10335,6 +10350,21 @@ Prefab:
propertyPath: m_LocalEulerAnglesHint.z
value: 90
objectReference: {fileID: 0}
- target: {fileID: 114448520176699186, guid: 9c07364efcb415146945e77d21a3d85e,
type: 2}
propertyPath: isActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 114448520176699186, guid: 9c07364efcb415146945e77d21a3d85e,
type: 2}
propertyPath: onDuration
value: 2
objectReference: {fileID: 0}
- target: {fileID: 114448520176699186, guid: 9c07364efcb415146945e77d21a3d85e,
type: 2}
propertyPath: offDuration
value: 4.5
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9c07364efcb415146945e77d21a3d85e, type: 2}
m_IsPrefabAsset: 0
......@@ -13661,6 +13691,21 @@ Prefab:
propertyPath: m_LocalEulerAnglesHint.z
value: 90
objectReference: {fileID: 0}
- target: {fileID: 114448520176699186, guid: 9c07364efcb415146945e77d21a3d85e,
type: 2}
propertyPath: onDuration
value: 1.5
objectReference: {fileID: 0}
- target: {fileID: 114448520176699186, guid: 9c07364efcb415146945e77d21a3d85e,
type: 2}
propertyPath: offDuration
value: 2.5
objectReference: {fileID: 0}
- target: {fileID: 114448520176699186, guid: 9c07364efcb415146945e77d21a3d85e,
type: 2}
propertyPath: isActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9c07364efcb415146945e77d21a3d85e, type: 2}
m_IsPrefabAsset: 0
......@@ -13673,11 +13718,11 @@ Prefab:
m_Modifications:
- target: {fileID: 4979966340574982, guid: 8423f8de9823deb4b8e438ad4f85f721, type: 2}
propertyPath: m_LocalPosition.x
value: 15.45
value: 13.42
objectReference: {fileID: 0}
- target: {fileID: 4979966340574982, guid: 8423f8de9823deb4b8e438ad4f85f721, type: 2}
propertyPath: m_LocalPosition.y
value: -0.48
value: 1.46
objectReference: {fileID: 0}
- target: {fileID: 4979966340574982, guid: 8423f8de9823deb4b8e438ad4f85f721, type: 2}
propertyPath: m_LocalPosition.z
......@@ -13711,7 +13756,7 @@ Prefab:
- target: {fileID: 114577748845638106, guid: 8423f8de9823deb4b8e438ad4f85f721,
type: 2}
propertyPath: orientation
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 114577748845638106, guid: 8423f8de9823deb4b8e438ad4f85f721,
type: 2}
......
This diff is collapsed.
This diff is collapsed.
fileFormatVersion: 2
guid: 2713412f4cbbd3e4bb6b5f521d834c70
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
fileFormatVersion: 2
guid: 363a002c4d08c25409341d2a7fed4de1
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 7d76a63dfd317814d9eef925c0df39c7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 7302d929ac7a2f44180b44e09592ac8a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -16,6 +16,7 @@ public class InteractibleLever : MonoBehaviour, IInteractible {
[SerializeField] private Sprite inactive;
[SerializeField] private BoolEvent onInteract;
[SerializeField] private BoolEvent onInteractInversed;
private bool state;
......@@ -24,10 +25,16 @@ public class InteractibleLever : MonoBehaviour, IInteractible {
UpdateSprite();
}
public void Interact(PlayerActor source) {
private void Start() {
onInteract.Invoke(state);
onInteractInversed.Invoke(!state);
}
public void Interact(PlayerActor source) {
if (source.Orientation == orientation) {
state = !state;
onInteract.Invoke(state);
onInteractInversed.Invoke(!state);
UpdateSprite();
}
......
fileFormatVersion: 2
guid: ccfe9bf63a9f2214db0028dccb6b6e2b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 47c227cc60413924aa62e244a0219b8d
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 7
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 256
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName: