Commit 68d18dd8 authored by Larrox's avatar Larrox

Spawn indicator, level preview camera

parent b49a7487
......@@ -27,7 +27,8 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Children:
- {fileID: 817296147834888998}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......@@ -44,3 +45,83 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
LevelTimeLimit: 90
yMaxHoehe: 50
yMinHoehe: -50
xMaxHoehe: 50
xMinHoehe: -50
availableBombs:
--- !u!1001 &101482901372485127
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 4412409797423783346}
m_Modifications:
- target: {fileID: 738331597592026404, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_Name
value: Checkpoint
objectReference: {fileID: 0}
- target: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_LocalPosition.y
value: 0.75
objectReference: {fileID: 0}
- target: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d1154549aece39143a3574da6ccd039c, type: 3}
--- !u!4 &817296147834888998 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 738331597592026401, guid: d1154549aece39143a3574da6ccd039c,
type: 3}
m_PrefabInstance: {fileID: 101482901372485127}
m_PrefabAsset: {fileID: 0}
......@@ -3935,6 +3935,11 @@ PrefabInstance:
propertyPath: availableBombs.Array.data[1]
value: 4
objectReference: {fileID: 0}
- target: {fileID: 4412409797423783345, guid: 655c31af15390a04b9e81f860a5652ad,
type: 3}
propertyPath: LevelTimeLimit
value: 75
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 655c31af15390a04b9e81f860a5652ad, type: 3}
--- !u!1001 &555167718
......
......@@ -5231,7 +5231,7 @@ GameObject:
m_Component:
- component: {fileID: 455052963}
m_Layer: 0
m_Name: Level 3
m_Name: Level 3 (Moving Sawblades)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
......@@ -7162,7 +7162,7 @@ PrefabInstance:
- target: {fileID: 4412409797423783345, guid: 655c31af15390a04b9e81f860a5652ad,
type: 3}
propertyPath: LevelTimeLimit
value: 200
value: 250
objectReference: {fileID: 0}
- target: {fileID: 4412409797423783345, guid: 655c31af15390a04b9e81f860a5652ad,
type: 3}
......@@ -16147,7 +16147,7 @@ GameObject:
m_Component:
- component: {fileID: 1498788412}
m_Layer: 0
m_Name: Level 2
m_Name: Level 2 (Fire)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
......@@ -17541,7 +17541,7 @@ PrefabInstance:
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
propertyPath: m_LocalPosition.x
value: 4
value: -8
objectReference: {fileID: 0}
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
......@@ -17561,7 +17561,7 @@ PrefabInstance:
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
......@@ -17571,7 +17571,7 @@ PrefabInstance:
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
......@@ -17586,7 +17586,7 @@ PrefabInstance:
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
value: 180
objectReference: {fileID: 0}
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
......@@ -21453,7 +21453,7 @@ PrefabInstance:
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
propertyPath: m_LocalPosition.x
value: 20
value: 8
objectReference: {fileID: 0}
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
......@@ -21473,7 +21473,7 @@ PrefabInstance:
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
......@@ -21483,7 +21483,7 @@ PrefabInstance:
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
......@@ -21498,7 +21498,7 @@ PrefabInstance:
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
value: 180
objectReference: {fileID: 0}
- target: {fileID: 5087871265112265690, guid: e0351c3114d63e64ca4d370fe5c418a0,
type: 3}
......
......@@ -11,7 +11,7 @@ public class LevelPreview : MonoBehaviour
{
spawn = GameObject.FindGameObjectWithTag("Respawn").GetComponent<LevelInformation>();
Transform mCamera = GameObject.FindGameObjectWithTag("MainCamera").transform;
transform.position = mCamera.position;
transform.position = spawn.transform.position + new Vector3(0,0,-10);
}
void Update()
......
......@@ -44,4 +44,7 @@ EditorBuildSettings:
- enabled: 1
path: Assets/_Game/Scenes/0.MainMenu.unity
guid: 76f985b8af7765745b3f4f7c86183848
- enabled: 1
path: Assets/_Game/Scenes/3.Waterlevel.unity
guid: de12e0da4ca0cca499c60c6a62a48254
m_configObjects: {}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment