Adding respawning and a lives count. Once lives count reaches zero you are kicked back to hub world. Hub world also has respawning

This commit is contained in:
Gregory Campbell
2020-01-11 14:04:14 -05:00
parent 406a39655d
commit 05632bf0b7
5 changed files with 47 additions and 20 deletions
+4 -1
View File
@@ -1265,7 +1265,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 741217452}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 5, z: 0}
m_LocalPosition: {x: 0, y: 2, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 615882419}
@@ -1284,6 +1284,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 83127dd120c01de45954b99cc4d669a5, type: 3}
m_Name:
m_EditorClassIdentifier:
finished: 0
respawn: 0
lives: 3
maxSpeed: 25
acceleration: 0.5
friction: 0.1