Energy Based Objects
2.01
|
Plays audio when a bullet collides. More...
Public Member Functions | |
void | ConnectComponentEvent (Component component) |
void | DisconnectComponentEvent (Component component) |
Public Attributes | |
bool | playOnSelf |
Will use the AudioSource that is located on this GameObject instead of the collideClip. If no AudioSource is found, one will be added to the GameObject. | |
bool | useAudioSourceClip |
Will use the clip located on the AudioSource rather than the collideClip. | |
float | volume = 1 |
float | pitch = 1 |
AudioClip | collideClip |
The audio played when the Bullet collides. |
Plays audio when a bullet collides.
AudioClip collideClip |
The audio played when the Bullet collides.
bool playOnSelf |
Will use the AudioSource that is located on this GameObject instead of the collideClip.
If no AudioSource is found, one will be added to the GameObject.
bool useAudioSourceClip |
Will use the clip located on the AudioSource rather than the collideClip.