My Project
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
UberAudio.AudioEmitter Class Reference

An audio emitter is UberAudio's version of an AudioSource. AudioManager.Play() returns an AudioEmitter GameObject AudioEmitters automatically track the life, position, etc of the GameObject they're attached to. More...

Inheritance diagram for UberAudio.AudioEmitter:

Public Member Functions

void LateUpdate ()
 Update the emitter.
 
void Play ()
 
void Stop ()
 
void Pause ()
 

Static Public Member Functions

static AudioEmitter Create (Transform attachedTo, AudioEvent ev)
 
static AudioEmitter Create (Vector3 position, AudioEvent ev)
 

Public Attributes

Transform AttachedTo
 
float preStunVolume
 
bool affectedByTimeScale = true
 

Properties

float Pitch [get, set]
 
float PlaybackTime [get, set]
 
float Duration [get]
 
AudioSource Source [get]
 
bool Finished [get]
 
bool Looping [get]
 

Detailed Description

An audio emitter is UberAudio's version of an AudioSource. AudioManager.Play() returns an AudioEmitter GameObject AudioEmitters automatically track the life, position, etc of the GameObject they're attached to.


The documentation for this class was generated from the following file: