프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AS | |||
ac | |||
increment | float | ||
maxTime | float | ||
timer | float |
메소드 | 설명 | |
---|---|---|
FixedUpdate ( ) : void |
Keeps track of the timer that regulates the frequency of the sound.
|
|
OnCollisionEnter ( Collision collision ) : void |
Plays a sound on collision, assuming it has not already being played.
|
|
Start ( ) : void |
Sets up all objects and variables that are needed to run the script.
|
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
리턴 | void |