C# Class HurtPlayerOnContact, Joyful

Inheritance: MonoBehaviour
显示文件 Open project: GDCASU/Joyful Class Usage Examples

Public Properties

Property Type Description
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

damageToGive public_oe property

public int damageToGive
return int