add: Player script with hp
add: player death handling and OnLevelFailed event
This commit is contained in:
@@ -251,6 +251,7 @@ GameObject:
|
||||
- component: {fileID: 7857072580326449292}
|
||||
- component: {fileID: 1437407097293080706}
|
||||
- component: {fileID: 8985924327125149956}
|
||||
- component: {fileID: 3824427059318413399}
|
||||
- component: {fileID: 397169322893853401}
|
||||
- component: {fileID: 1198108720433238150}
|
||||
- component: {fileID: 3263211181679880648}
|
||||
@@ -384,6 +385,20 @@ Rigidbody:
|
||||
m_Interpolate: 0
|
||||
m_Constraints: 80
|
||||
m_CollisionDetection: 0
|
||||
--- !u!114 &3824427059318413399
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9016311960615966999}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f9b2638aeb16f76429ff062f38f6d0be, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
maxHp: 100
|
||||
hp: 0
|
||||
--- !u!114 &397169322893853401
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
Reference in New Issue
Block a user