⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Interface IHealthManager

    Inherited Members
    IMonoBehaviour.enabled
    IMonoBehaviour.name
    IMonoBehaviour.gameObject
    IMonoBehaviour.transform
    IMonoBehaviour.GetComponent<T>()
    IMonoBehaviour.GetComponentInChildren<T>()
    IMonoBehaviour.GetComponentInParent<T>()
    IMonoBehaviour.GetComponents<T>()
    IMonoBehaviour.GetComponentsInChildren<T>(Boolean)
    IMonoBehaviour.GetComponentsInParent<T>(Boolean)
    IMonoBehaviour.GetComponent(Type)
    IMonoBehaviour.GetComponentInChildren(Type)
    IMonoBehaviour.GetComponentInParent(Type)
    IMonoBehaviour.GetComponents(Type)
    IMonoBehaviour.GetComponentsInChildren(Type, Boolean)
    IMonoBehaviour.GetComponentsInParent(Type, Boolean)
    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public interface IHealthManager : IMonoBehaviour

    Properties

    health

    Declaration
    float health { get; set; }
    Property Value
    Type Description
    System.Single

    healthMax

    Declaration
    float healthMax { get; set; }
    Property Value
    Type Description
    System.Single

    invincible

    Declaration
    bool invincible { get; set; }
    Property Value
    Type Description
    System.Boolean

    isAlive

    Declaration
    bool isAlive { get; }
    Property Value
    Type Description
    System.Boolean

    normalisedHealth

    Declaration
    float normalisedHealth { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    AddDamage(Single)

    Declaration
    void AddDamage(float damage)
    Parameters
    Type Name Description
    System.Single damage

    AddDamage(Single, IDamageSource)

    Declaration
    void AddDamage(float damage, IDamageSource source)
    Parameters
    Type Name Description
    System.Single damage
    IDamageSource source

    AddDamage(Single, Boolean)

    Declaration
    void AddDamage(float damage, bool critical)
    Parameters
    Type Name Description
    System.Single damage
    System.Boolean critical

    AddDamage(Single, Boolean, IDamageSource)

    Declaration
    void AddDamage(float damage, bool critical, IDamageSource source)
    Parameters
    Type Name Description
    System.Single damage
    System.Boolean critical
    IDamageSource source

    AddDamage(Single, Boolean, IDamageSource, RaycastHit)

    Declaration
    void AddDamage(float damage, bool critical, IDamageSource source, RaycastHit hit)
    Parameters
    Type Name Description
    System.Single damage
    System.Boolean critical
    IDamageSource source
    RaycastHit hit

    AddDamage(Single, Boolean, RaycastHit)

    Declaration
    void AddDamage(float damage, bool critical, RaycastHit hit)
    Parameters
    Type Name Description
    System.Single damage
    System.Boolean critical
    RaycastHit hit

    AddHealth(Single)

    Declaration
    void AddHealth(float h)
    Parameters
    Type Name Description
    System.Single h

    AddHealth(Single, IDamageSource)

    Declaration
    void AddHealth(float h, IDamageSource source)
    Parameters
    Type Name Description
    System.Single h
    IDamageSource source

    Events

    onHealthChanged

    Declaration
    event HealthDelegates.OnHealthChanged onHealthChanged
    Event Type
    Type Description
    HealthDelegates.OnHealthChanged

    onHealthMaxChanged

    Declaration
    event HealthDelegates.OnHealthMaxChanged onHealthMaxChanged
    Event Type
    Type Description
    HealthDelegates.OnHealthMaxChanged

    onIsAliveChanged

    Declaration
    event HealthDelegates.OnIsAliveChanged onIsAliveChanged
    Event Type
    Type Description
    HealthDelegates.OnIsAliveChanged
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX