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

Plays audio when an ObjectShootingPoint is either shot or loaded. More...

Inheritance diagram for ObjectShootAudio:
IComponentEventConnector

List of all members.

Public Member Functions

void PlayShootClip ()
void PlayLoadClip ()
void ConnectShootingPoint (ObjectShootingPoint point)
void DisconnectShootingPoint (ObjectShootingPoint point)
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 clips below.
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 shootClip or loadClip.
float volume = 1
float pitch = 1
AudioClip shootClip
AudioClip loadClip
bool playOnShoot
bool playOnLoad

Detailed Description

Plays audio when an ObjectShootingPoint is either shot or loaded.


Member Data Documentation

bool playOnSelf

Will use the AudioSource that is located on this GameObject instead of the clips below.
If no AudioSource is found, one will be added to the GameObject.

Will use the clip located on the AudioSource rather than the shootClip or loadClip.

 All Classes Namespaces Functions Variables Properties Events