Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit fb73543

Browse files
Fixed missing reference to player health on example #1
1 parent c9242c3 commit fb73543

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Assets/SO Architecture/Examples/Prefabs/Reference Example Player.prefab

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ MonoBehaviour:
125125
m_Script: {fileID: 11500000, guid: 96e1b83887e9c9d4e8300e77aaa4f9c6, type: 3}
126126
m_Name:
127127
m_EditorClassIdentifier:
128-
PlayerHealth:
129-
_useConstant: 1
128+
Health:
129+
_useConstant: 0
130130
_constantValue: 0
131-
_variable: {fileID: 0}
131+
_variable: {fileID: 11400000, guid: 00040033833585f4b940c1e6c8d5d2e1, type: 2}
132132
_resetOnStartup: 1
133133
_startingHealth:
134134
_useConstant: 0

Assets/SO Architecture/Examples/Scenes/Example #01 - References.unity

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ RectTransform:
210210
m_AnchorMin: {x: 0.5, y: 0.5}
211211
m_AnchorMax: {x: 0.5, y: 0.5}
212212
m_AnchoredPosition: {x: 0, y: -190.94}
213-
m_SizeDelta: {x: 371.04, y: 139}
213+
m_SizeDelta: {x: 371.04, y: 0}
214214
m_Pivot: {x: 0.5, y: 0.5}
215215
--- !u!114 &214446044
216216
MonoBehaviour:
@@ -446,6 +446,12 @@ Prefab:
446446
value:
447447
objectReference: {fileID: 11400000, guid: 00040033833585f4b940c1e6c8d5d2e1,
448448
type: 2}
449+
- target: {fileID: 114212140993495922, guid: 3768c23610dfe9140af281dcf25e1b38,
450+
type: 2}
451+
propertyPath: Health._variable
452+
value:
453+
objectReference: {fileID: 11400000, guid: 00040033833585f4b940c1e6c8d5d2e1,
454+
type: 2}
449455
m_RemovedComponents: []
450456
m_SourcePrefab: {fileID: 100100000, guid: 3768c23610dfe9140af281dcf25e1b38, type: 2}
451457
m_IsPrefabAsset: 0

0 commit comments

Comments
 (0)