Class EnemyHealth
Example enemy health. Note: Deprecated. For standalone DFTFU scenes only.
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(EnemyBlood))]
public class EnemyHealth : MonoBehaviour
Fields
| Improve this Doc View SourceHealth
Declaration
public float Health
Field Value
Type | Description |
---|---|
Single |
Methods
| Improve this Doc View SourceRemoveHealth(GameObject, Single, Vector3)
Enemy has been damaged.
Declaration
public void RemoveHealth(GameObject sendingPlayer, float amount, Vector3 hitPosition)
Parameters
Type | Name | Description |
---|---|---|
GameObject | sendingPlayer | |
Single | amount | |
Vector3 | hitPosition |