Energy Based Objects  2.01
Public Member Functions | Public Attributes
BulletAudio Class Reference

Plays audio when a bullet collides. More...

Inheritance diagram for BulletAudio:
IComponentEventConnector

List of all members.

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.

Detailed Description

Plays audio when a bullet collides.


Member Data Documentation

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.

Will use the clip located on the AudioSource rather than the collideClip.

 All Classes Namespaces Functions Variables Properties Events