Health stuff

This commit is contained in:
2025-08-06 21:29:29 +02:00
parent 5afbf04037
commit 364ffc9a23
9 changed files with 106 additions and 29 deletions

View File

@@ -11,9 +11,10 @@ GameObject:
- component: {fileID: 1593526044607189551}
- component: {fileID: 4260072969707999758}
- component: {fileID: 8136388527997030937}
- component: {fileID: 8002523264253901019}
m_Layer: 0
m_Name: Blob
m_TagString: Untagged
m_TagString: Enemy
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@@ -88,6 +89,21 @@ MonoBehaviour:
player: {fileID: 0}
obstacleDetectionDistance: 1
rotationSpeed: 5
--- !u!114 &8002523264253901019
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2103289545128957355}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1685f5c21ab4b2e418e35e5cf3e60864, type: 3}
m_Name:
m_EditorClassIdentifier:
_maxHealth: 100
_currentHealth: 20
_healthText: {fileID: 0}
--- !u!1 &2485118932734020551
GameObject:
m_ObjectHideFlags: 0