C# Class MoneyPickup, gateway2dwest

Inheritance: MonoBehaviour
Exibir arquivo Open project: stlgamedev/gateway2dwest Class Usage Examples

Public Properties

Property Type Description
moneyToGive float
pickupSound UnityEngine.AudioClip

Public Methods

Method Description
OnCollisionEnter2D ( Collision2D col ) : void
OnTriggerEnter2D ( Collider2D col ) : void

Method Details

OnCollisionEnter2D() public method

public OnCollisionEnter2D ( Collision2D col ) : void
col Collision2D
return void

OnTriggerEnter2D() public method

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

Property Details

moneyToGive public_oe property

public float moneyToGive
return float

pickupSound public_oe property

public AudioClip,UnityEngine pickupSound
return UnityEngine.AudioClip