C# Class HurtEnemyOnContact, Joyful

Inheritance: MonoBehaviour
Mostrar archivo Open project: GDCASU/Joyful Class Usage Examples

Public Properties

Property Type Description
bounceOnEnemy float
damageToGive int

Public Methods

Method Description
OnTriggerEnter2D ( Collider2D other ) : void
Start ( ) : void
Update ( ) : void

Method Details

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D other ) : void
other UnityEngine.Collider2D
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

bounceOnEnemy public_oe property

public float bounceOnEnemy
return float

damageToGive public_oe property

public int damageToGive
return int