Added a health bar

This commit is contained in:
Pasha Bibko
2026-01-20 15:45:24 +00:00
parent db4ece3445
commit 7307a64e77
4 changed files with 63 additions and 16 deletions

View File

@@ -9,6 +9,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 4417313079524746681}
- component: {fileID: 582498797338587669}
m_Layer: 0
m_Name: ShieldBar
m_TagString: Untagged
@@ -26,12 +27,26 @@ Transform:
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 3}
m_LocalScale: {x: 0.050000004, y: 0.050000004, z: 0.05}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 1
m_Children:
- {fileID: 7207716708273798845}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &582498797338587669
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 228621501325938318}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 260819a4950a1f54d921ee3d6b3da010, type: 3}
m_Name:
m_EditorClassIdentifier:
HealthBarObject: {fileID: 850249494288935909}
Spawner: {fileID: 0}
--- !u!1001 &7173193334112115030
PrefabInstance:
m_ObjectHideFlags: 0
@@ -100,6 +115,12 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 7bc83d134a74a2a468929a7200cba18e, type: 3}
--- !u!4 &850249494288935909 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7512281513308713651, guid: 7bc83d134a74a2a468929a7200cba18e,
type: 3}
m_PrefabInstance: {fileID: 7173193334112115030}
m_PrefabAsset: {fileID: 0}
--- !u!4 &7207716708273798845 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 7bc83d134a74a2a468929a7200cba18e,