Property | Type | Description | |
---|---|---|---|
anim | Animator | ||
enemyClips | UnityEngine.AudioClip[] | ||
height | int | ||
parcours | Vector2[] | ||
pos | Vector3 | ||
speed | float | ||
width | int |
Method | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
OnCollisionEnter2D ( Collision2D collision ) : void | ||
Start ( ) : void | ||
playSound ( int clipNumber ) : void |
Plays a sound.
|
public OnCollisionEnter2D ( Collision2D collision ) : void | ||
collision | Collision2D | |
return | void |
public playSound ( int clipNumber ) : void | ||
clipNumber | int | Index of the song in the Array of songs |
return | void |