Commit 4c36efec authored by Martin Mihálik's avatar Martin Mihálik 🔥
Browse files

Repeating tweaks

parent 38d75978
......@@ -12,8 +12,8 @@ GameObject:
- component: {fileID: 2654140422281934944}
- component: {fileID: 2654140422281934947}
- component: {fileID: 4295960864059702635}
- component: {fileID: 2654140422281934945}
- component: {fileID: 2654140422281934950}
- component: {fileID: 2654140422281934945}
m_Layer: 11
m_Name: Wall
m_TagString: Untagged
......@@ -133,6 +133,21 @@ Rigidbody2D:
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 0
--- !u!114 &2654140422281934950
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2654140422281934948}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 136730f820674ea4aaca1bc72ef473a2, type: 3}
m_Name:
m_EditorClassIdentifier:
m_NoDamageSprite: {fileID: 1579969085674745262, guid: fe414402022daf54092419715338b22d, type: 3}
m_SomeDamageSprite: {fileID: 3472043959254758212, guid: fe414402022daf54092419715338b22d, type: 3}
m_FullDamageSprite: {fileID: 8598481603908473379, guid: fe414402022daf54092419715338b22d, type: 3}
--- !u!114 &2654140422281934945
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -176,18 +191,3 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &2654140422281934950
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2654140422281934948}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 136730f820674ea4aaca1bc72ef473a2, type: 3}
m_Name:
m_EditorClassIdentifier:
m_NoDamageSprite: {fileID: 1579969085674745262, guid: fe414402022daf54092419715338b22d, type: 3}
m_SomeDamageSprite: {fileID: 3472043959254758212, guid: fe414402022daf54092419715338b22d, type: 3}
m_FullDamageSprite: {fileID: 8598481603908473379, guid: fe414402022daf54092419715338b22d, type: 3}
......@@ -134,7 +134,7 @@ GameObject:
- component: {fileID: 106956313}
m_Layer: 0
m_Name: Source
m_TagString: Untagged
m_TagString: Repeatable
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
......@@ -426,7 +426,7 @@ Camera:
far clip plane: 1000
field of view: 60
orthographic: 1
orthographic size: 5
orthographic size: 7
m_Depth: -1
m_CullingMask:
serializedVersion: 2
......@@ -467,7 +467,7 @@ GameObject:
- component: {fileID: 574392414}
m_Layer: 0
m_Name: Rubbles
m_TagString: Repeatable
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
......@@ -497,7 +497,7 @@ GameObject:
- component: {fileID: 792207690}
m_Layer: 0
m_Name: Target
m_TagString: Untagged
m_TagString: Repeatable
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
......@@ -527,7 +527,7 @@ GameObject:
- component: {fileID: 1344835039}
m_Layer: 0
m_Name: Explosions
m_TagString: Repeatable
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
......@@ -750,7 +750,6 @@ GameObject:
- component: {fileID: 1695424173}
- component: {fileID: 1695424176}
- component: {fileID: 1695424175}
- component: {fileID: 1695424177}
- component: {fileID: 1695424174}
m_Layer: 11
m_Name: Walls
......@@ -831,37 +830,6 @@ Rigidbody2D:
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 0
--- !u!114 &1695424177
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1695424172}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 01e9ce25e2a99d149a174ad4098919ae, type: 3}
m_Name:
m_EditorClassIdentifier:
m_StartingHealth: 1
m_OnDamageTaken:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 512397506}
m_TargetAssemblyTypeName: PlayerControls, Assembly-CSharp
m_MethodName: OnDeath
m_Mode: 1
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_OnDeath:
m_PersistentCalls:
m_Calls: []
--- !u!1 &1877781301
GameObject:
m_ObjectHideFlags: 0
......@@ -1736,7 +1704,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1952676060}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -5, z: 0}
m_LocalPosition: {x: 0, y: -10, z: 0}
m_LocalScale: {x: 60, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
......@@ -1832,7 +1800,7 @@ GameObject:
- component: {fileID: 2028534473}
m_Layer: 0
m_Name: Meteors
m_TagString: Repeatable
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
......
......@@ -15,9 +15,11 @@ public class LevelUpController : MonoBehaviour
private void MoveObjectsDown()
{
var shift = Vector3.down * 20;
foreach (var repeatable in GameObject.FindGameObjectsWithTag("Repeatable"))
{
repeatable.transform.position += Vector3.down * 30;
repeatable.transform.position += shift;
}
}
}
......@@ -6,8 +6,8 @@ TagManager:
tags:
- Repeatable
- Meteor
- Explosion
- Rubble
- Explosion
layers:
- Default
- TransparentFX
......
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