프로퍼티 | 타입 | 설명 | |
---|---|---|---|
anim | Animator | ||
enemyClips | UnityEngine.AudioClip[] | ||
height | int | ||
parcours | Vector2[] | ||
pos | Vector3 | ||
speed | float | ||
width | int |
메소드 | 설명 | |
---|---|---|
FixedUpdate ( ) : void | ||
OnCollisionEnter2D ( Collision2D collision ) : void | ||
Start ( ) : void | ||
playSound ( int clipNumber ) : void |
Plays a sound.
|
public OnCollisionEnter2D ( Collision2D collision ) : void | ||
collision | Collision2D | |
리턴 | void |
public playSound ( int clipNumber ) : void | ||
clipNumber | int | Index of the song in the Array of songs |
리턴 | void |