Show / Hide Table of Contents

Class PlayerDeath

Handles player death.

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
PlayerDeath
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
public class PlayerDeath : MonoBehaviour

Fields

| Improve this Doc View Source

FadeDuration

Declaration
public float FadeDuration
Field Value
Type Description
Single
| Improve this Doc View Source

OnPlayerDeath

Declaration
public static EventHandler OnPlayerDeath
Field Value
Type Description
EventHandler
| Improve this Doc View Source

TimeBeforeReset

Declaration
public float TimeBeforeReset
Field Value
Type Description
Single

Properties

| Improve this Doc View Source

DeathInProgress

Declaration
public bool DeathInProgress { get; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

ClearDeathAnimation()

Clears death animation state and fade.

Declaration
public void ClearDeathAnimation()
| Improve this Doc View Source

ResetCamera()

Resets camera after a death event.

Declaration
public void ResetCamera()

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
Back to top Generated by DocFX