C# Class HurtEnemyOnContact, Joyful

Inheritance: MonoBehaviour
Show file 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 property

public float bounceOnEnemy
return float

damageToGive public property

public int damageToGive
return int