Show / Hide Table of Contents

Class EnemyHealth

Example enemy health. Note: Deprecated. For standalone DFTFU scenes only.

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
EnemyHealth
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(EnemyBlood))]
public class EnemyHealth : MonoBehaviour

Fields

| Improve this Doc View Source

Health

Declaration
public float Health
Field Value
Type Description
Single

Methods

| Improve this Doc View Source

RemoveHealth(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

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
  • Fields
    • Health
  • Methods
    • RemoveHealth(GameObject, Single, Vector3)
  • Extension Methods
Back to top Generated by DocFX