22 lines
710 B
Plaintext
22 lines
710 B
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!114 &11400000
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInternal: {fileID: 0}
|
|
m_GameObject: {fileID: 0}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: f9377ffeb64ba30478a995a8ffc78ae8, type: 3}
|
|
m_Name: Player Health
|
|
m_EditorClassIdentifier:
|
|
DeveloperDescription: 'It''s important to remember that Scriptable Objects will
|
|
not reset when you exit playmode. This means that player health is not automatically
|
|
reset
|
|
|
|
|
|
Simply have a separate object that contains the starting health of your player,
|
|
and make sure the health component resets on awake'
|
|
_value: -60
|