The Flock
0.00.001
|
Public Member Functions | |
override void | Start () |
Start is called just before any of the Update methods is called the first time. More... | |
![]() | |
override void | OnDrawGizmosSelected () |
OnDraw Gizmos selected. More... | |
void | AddItem (AudioItem audioItem) |
Adds the item, AddItem( new AudioItem( audioClips[0], chance rate in 100.00 to 0.00 , base volume, min volume, base pitch, min pitch) ); MAKE SURE THAT THE TOTAL THE CHANCE RATE VALUES ARE 100%!! More... | |
void | RemoveItem (AudioItem audioItem) |
Removes the item from the list. More... | |
virtual void | playAudio () |
Play's a audioClip, which is selected randomly from the audioItems lists More... | |
void | stopAudio () |
Stops the audio. More... | |
virtual void | playAudioMessageFromServer (PlayerIOClient.Message message) |
Plaies the audio message from server. More... | |
override void | OnDestroy () |
This function is called before the gameobject is been destroyed. More... | |
![]() | |
virtual void | Awake () |
Awake is called when the script instance is being loaded. More... | |
virtual void | Update () |
Update is called every frame. More... | |
virtual void | LateUpdate () |
LateUpdate is called every frame after all Update functions have been called. More... | |
virtual void | FixedUpdate () |
This function is called every fixed framerate frame. More... | |
virtual void | OnGUI () |
OnScreen GUI. More... | |
virtual void | OnDrawGizmos () |
OnDraw Gizmos. More... | |
virtual void | OnEnable () |
This function is called when the object becomes enabled and active. More... | |
virtual void | OnDisable () |
This function is called when the behaviour becomes disabled or inactive. More... | |
virtual void | OnBecameVisible () |
OnBecameVisible is called when the renderer became visible by any camera. More... | |
virtual void | OnBecameInvisible () |
OnBecameInvisible is called when the renderer is no longer visible by any camera. More... | |
I | GetInterfaceComponent< I > () |
Gets the interface component. More... | |
void | logDebug (string message) |
void | logWarning (string message) |
void | logError (string message) |
Additional Inherited Members | |
![]() | |
static List< I > | FindObjectsOfInterface< I > () |
Finds the objects of interface. More... | |
![]() | |
float | audioMinDistance = 1 |
float | audioMaxDistance = 10 |
AudioClip[] | audioClips |
bool | _isLocal = false |
![]() | |
void | updateAudioItemsList () |
Updates the audio items list. More... | |
![]() | |
string | _eventName = "" |
AudioSource | _audioSource |
![]() | |
AudioItem[] | audioItems [get] |
Gets the audio items. More... | |
bool | isPlaying [get] |
Gets a value indicating whether this AudioShot is playing. More... | |
|
virtual |
Start is called just before any of the Update methods is called the first time.
Reimplemented from AudioShot.