Class PlayerDeath
Assembly: Assembly-CSharp.dll
Syntax
public class PlayerDeath : MonoBehaviour
Fields
|
Improve this Doc
View Source
FadeDuration
Declaration
public float FadeDuration
Field Value
|
Improve this Doc
View Source
OnPlayerDeath
Declaration
public static EventHandler OnPlayerDeath
Field Value
|
Improve this Doc
View Source
TimeBeforeReset
Declaration
public float TimeBeforeReset
Field Value
Properties
|
Improve this Doc
View Source
DeathInProgress
Declaration
public bool DeathInProgress { get; }
Property Value
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<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)