Property | Type | Description | |
---|---|---|---|
AS | |||
ac | |||
increment | float | ||
maxTime | float | ||
timer | float |
Method | Description | |
---|---|---|
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 | |
return | void |