Search Results for

    Show / Hide Table of Contents

    Class Damageable

    Inheritance
    object
    Damageable
    Namespace: Game.Player
    Assembly: cs.temp.dll.dll
    Syntax
    public class Damageable : MonoBehaviour

    Fields

    damage

    Declaration
    public float damage
    Field Value
    Type Description
    float

    damageSelfDebug

    Declaration
    public bool damageSelfDebug
    Field Value
    Type Description
    bool

    dying

    Declaration
    public bool dying
    Field Value
    Type Description
    bool

    force

    Declaration
    public float force
    Field Value
    Type Description
    float

    lives

    Declaration
    public int lives
    Field Value
    Type Description
    int

    maxDamage

    Declaration
    public float maxDamage
    Field Value
    Type Description
    float

    Methods

    Damage(float)

    Declaration
    public void Damage(float damage)
    Parameters
    Type Name Description
    float damage

    HandleDeath()

    Declaration
    public void HandleDeath()

    ResetDamage()

    Declaration
    public void ResetDamage()

    Respawn()

    Declaration
    public void Respawn()

    Events

    OnPlayerPunched

    Declaration
    public event Action<GameObject> OnPlayerPunched
    Event Type
    Type Description
    System.Action<T><GameObject>
    In This Article
    Back to top Example Unity documentation footer