Finishing the game.

This commit is contained in:
Tristan Roux
2018-12-02 18:43:19 +01:00
parent db51e9679c
commit d56caf25ce
2 changed files with 5 additions and 17 deletions
+4 -17
View File
@@ -579,11 +579,10 @@ GameObject:
m_Component:
- component: {fileID: 38587289}
- component: {fileID: 38587292}
- component: {fileID: 38587291}
- component: {fileID: 38587290}
m_Layer: 8
m_Name: SacrificeEnd
m_TagString: Teleporter
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@@ -626,18 +625,6 @@ BoxCollider2D:
serializedVersion: 2
m_Size: {x: 2, y: 2}
m_EdgeRadius: 0
--- !u!114 &38587291
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 38587288}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 00a9d1cbc15b952478f37829f27ce0db, type: 3}
m_Name:
m_EditorClassIdentifier:
destination: {fileID: 3538599}
--- !u!212 &38587292
SpriteRenderer:
m_ObjectHideFlags: 0
@@ -2599,8 +2586,8 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 361573701}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 3.5, z: 10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalPosition: {x: 0, y: 0.17, z: 10}
m_LocalScale: {x: 0.8, y: 0.8, z: 0.8}
m_Children:
- {fileID: 848359767}
- {fileID: 1317735112}
@@ -14909,7 +14896,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
index: -1
dialog:
- GG you just finished the first level good luck for other
- GG you just finished the first level. See you at the game release.
--- !u!61 &2047637162
BoxCollider2D:
m_ObjectHideFlags: 0
+1
View File
@@ -102,6 +102,7 @@ public class PlayerMovement : MonoBehaviour
rb = GetComponent<Rigidbody2D>();
collider = GetComponentInChildren<BoxCollider2D>();
checkPoint = transform.position;
sacrified.Add(Personalty.Parry);
}
private bool IsGrounded