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:
@@ -476,6 +476,8 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
finished: 0
|
||||
respawn: 0
|
||||
lives: 3
|
||||
maxSpeed: 25
|
||||
acceleration: 0.5
|
||||
friction: 0.1
|
||||
@@ -570,7 +572,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1644583839}
|
||||
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: 1573414423}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user