Commit 1f5261f4 authored by astatham's avatar astatham
Browse files

Re-fixed moving target spawn bugs

parent eca6c009
......@@ -191,6 +191,7 @@ GameObject:
m_Component:
- component: {fileID: 30074518}
- component: {fileID: 30074519}
- component: {fileID: 30074520}
m_Layer: 0
m_Name: RightTarget
m_TagString: Untagged
......@@ -225,6 +226,31 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &30074520
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 30074517}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 8.59, y: 1.43}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1.15, y: 2.35}
m_EdgeRadius: 0
--- !u!1 &100312131
GameObject:
m_ObjectHideFlags: 0
......@@ -303,6 +329,7 @@ GameObject:
m_Component:
- component: {fileID: 198828739}
- component: {fileID: 198828740}
- component: {fileID: 198828741}
m_Layer: 0
m_Name: CentreTarget
m_TagString: Untagged
......@@ -337,6 +364,31 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &198828741
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 198828738}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 8.59, y: 1.43}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1.15, y: 2.35}
m_EdgeRadius: 0
--- !u!1 &234002383
GameObject:
m_ObjectHideFlags: 0
......@@ -530,6 +582,7 @@ GameObject:
m_Component:
- component: {fileID: 417111246}
- component: {fileID: 417111247}
- component: {fileID: 417111248}
m_Layer: 0
m_Name: CentreTarget
m_TagString: Untagged
......@@ -562,6 +615,31 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &417111248
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 417111245}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -3.69, y: -0.32}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1.17, y: 2.66}
m_EdgeRadius: 0
--- !u!1001 &425617383
Prefab:
m_ObjectHideFlags: 0
......@@ -652,8 +730,6 @@ GameObject:
m_Component:
- component: {fileID: 488923753}
- component: {fileID: 488923752}
- component: {fileID: 488923754}
- component: {fileID: 488923755}
m_Layer: 0
m_Name: mime-1
m_TagString: Untagged
......@@ -720,42 +796,6 @@ Transform:
m_Father: {fileID: 911242811}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!61 &488923754
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 488923751}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0.15, y: -0.2}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 2.56, y: 2.56}
newSize: {x: 2.56, y: 2.56}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1.17, y: 2.13}
m_EdgeRadius: 0
--- !u!114 &488923755
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 488923751}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &507094420
GameObject:
m_ObjectHideFlags: 0
......@@ -765,6 +805,7 @@ GameObject:
m_Component:
- component: {fileID: 507094421}
- component: {fileID: 507094422}
- component: {fileID: 507094423}
m_Layer: 0
m_Name: CentreTarget
m_TagString: Untagged
......@@ -799,6 +840,31 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &507094423
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 507094420}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 4.7, y: -0.01}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 2.56, y: 2.56}
newSize: {x: 2.56, y: 2.56}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 3.71, y: 1.23}
m_EdgeRadius: 0
--- !u!1 &510235118
GameObject:
m_ObjectHideFlags: 0
......@@ -938,9 +1004,6 @@ GameObject:
m_Component:
- component: {fileID: 671992258}
- component: {fileID: 671992262}
- component: {fileID: 671992261}
- component: {fileID: 671992260}
- component: {fileID: 671992259}
m_Layer: 0
m_Name: target
m_TagString: Untagged
......@@ -961,57 +1024,6 @@ Transform:
m_Father: {fileID: 2076957778}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &671992259
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 671992257}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &671992260
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 671992257}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: -0.3}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 2.56, y: 3.5}
newSize: {x: 2.56, y: 3.5}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1.24, y: 2.69}
m_EdgeRadius: 0
--- !u!58 &671992261
CircleCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 671992257}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0.19, y: 0.23}
serializedVersion: 2
m_Radius: 0.3
--- !u!212 &671992262
SpriteRenderer:
m_ObjectHideFlags: 0
......@@ -1212,6 +1224,7 @@ GameObject:
m_Component:
- component: {fileID: 834739660}
- component: {fileID: 834739661}
- component: {fileID: 834739662}
m_Layer: 0
m_Name: LeftTarget
m_TagString: Untagged
......@@ -1246,6 +1259,31 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &834739662
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 834739659}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 4.7, y: -0.01}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 2.56, y: 2.56}
newSize: {x: 2.56, y: 2.56}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 3.71, y: 1.23}
m_EdgeRadius: 0
--- !u!1 &900750523
GameObject:
m_ObjectHideFlags: 0
......@@ -1256,6 +1294,7 @@ GameObject:
- component: {fileID: 900750524}
- component: {fileID: 900750525}
- component: {fileID: 900750526}
- component: {fileID: 900750527}
m_Layer: 0
m_Name: MovingTarget
m_TagString: Untagged
......@@ -1302,76 +1341,47 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &907546174
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 907546179}
- component: {fileID: 907546178}
- component: {fileID: 907546177}
- component: {fileID: 907546175}
- component: {fileID: 907546176}
m_Layer: 0
m_Name: target
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &907546175
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 907546174}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &907546176
--- !u!61 &900750527
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 907546174}
m_GameObject: {fileID: 900750523}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: -0.3}
m_Offset: {x: -0.18, y: -0.07}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 2.56, y: 3.5}
newSize: {x: 2.56, y: 3.5}
adaptiveTilingThreshold: 0.5
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1.24, y: 2.69}
m_Size: {x: 1.27, y: 2.41}
m_EdgeRadius: 0
--- !u!58 &907546177
CircleCollider2D:
--- !u!1 &907546174
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 907546174}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0.19, y: 0.23}
serializedVersion: 2
m_Radius: 0.3
serializedVersion: 6
m_Component:
- component: {fileID: 907546179}
- component: {fileID: 907546178}
m_Layer: 0
m_Name: target
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!212 &907546178
SpriteRenderer:
m_ObjectHideFlags: 0
......@@ -1440,6 +1450,7 @@ GameObject:
m_Component:
- component: {fileID: 911242811}
- component: {fileID: 911242812}
- component: {fileID: 911242813}
m_Layer: 0
m_Name: RightTarget
m_TagString: Untagged
......@@ -1474,6 +1485,31 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &911242813
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 911242810}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 4.7, y: -0.01}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 2.56, y: 2.56}
newSize: {x: 2.56, y: 2.56}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 3.71, y: 1.23}
m_EdgeRadius: 0
--- !u!1 &937751195
GameObject:
m_ObjectHideFlags: 0
......@@ -1922,9 +1958,6 @@ GameObject:
m_Component:
- component: {fileID: 1178228078}
- component: {fileID: 1178228082}
- component: {fileID: 1178228081}
- component: {fileID: 1178228080}
- component: {fileID: 1178228079}
m_Layer: 0
m_Name: target (1)
m_TagString: Untagged
......@@ -1945,59 +1978,8 @@ Transform:
m_Father: {fileID: 30074518}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1178228079
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1178228077}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!61 &1178228080
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1178228077}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0.26, y: -0.09}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 2.56, y: 2.8}
newSize: {x: 2.56, y: 2.8}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1.24, y: 2.45}
m_EdgeRadius: 0
--- !u!58 &1178228081
CircleCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1178228077}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0.19, y: 0.23}
serializedVersion: 2
m_Radius: 0.3
--- !u!212 &1178228082
SpriteRenderer:
--- !u!212 &1178228082
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
......@@ -2056,8 +2038,6 @@ GameObject:
m_Component:
- component: {fileID: 1342318062}
- component: {fileID: 1342318064}
- component: {fileID: 1342318066}
- component: {fileID: 1342318063}
m_Layer: 0
m_Name: Bear-1
m_TagString: Untagged
......@@ -2078,17 +2058,6 @@ Transform:
m_Father: {fileID: 900750524}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1342318063
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1342318061}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 53f76b8adcf2348e3a73cf1343cb10e5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!212 &1342318064
SpriteRenderer:
m_ObjectHideFlags: 0
......@@ -2135,31 +2104,6 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!61 &1342318066
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1342318061}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0.14, y: -0.04}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 1.29, y: 1.8}
newSize: {x: 1.29, y: 1.8}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 0.87, y: 1.62}
m_EdgeRadius: 0
--- !u!1001 &1351189421
Prefab:
m_ObjectHideFlags: 0
......@@ -2315,6 +2259,7 @@ GameObject:
m_Component:
- component: {fileID: 1380510223}
- component: {fileID: 1380510224}