DrowningMotionGraphWatcher MonoBehaviour
Overview
The DrowningMotionGraphWatcher watches a float parameter on the character motion graph and if the float value exceeds the specified amount then it starts to apply damage to the player's health manager.
Inspector

Properties
| Name | Type | Description |
|---|---|---|
| Parameter Key | String | The name of the float parameter on the motion graph that the watcher should track. |
| Damage Description | String | A descriptive name for the damage that can be used in any HUD logs. |
| Damage Type | Dropdown | The damage type the drowning should be classed as. Used for filtering the damage. |
| Hold Breath Duration | Float | The value the parameter needs to reach before damage is applied. |
| Damage Spacing | Float | Damage will be applied every time the parameter passes an increment of this amount above the drown duration. |
| Damage Amount | Float | The amount of damage to apply to the character. |