Third Person Cover Shooter  1.6
CoverShooter.RandomAudio Class Reference

Picks a random audio sample from the supplied list and sets Audio Source to play it. More...

Inheritance diagram for CoverShooter.RandomAudio:

Public Member Functions

void Play ()
 Sets up an AudioSource to play a random clip. More...
 

Public Attributes

AudioClip [] Clips
 Array of possible audio clips to be played. More...
 
bool PlayOnAwake = true
 Should the clip selection happen during the object's awakening. More...
 

Detailed Description

Picks a random audio sample from the supplied list and sets Audio Source to play it.

Member Function Documentation

◆ Play()

void CoverShooter.RandomAudio.Play ( )

Sets up an AudioSource to play a random clip.

Member Data Documentation

◆ Clips

AudioClip [] CoverShooter.RandomAudio.Clips

Array of possible audio clips to be played.

◆ PlayOnAwake

bool CoverShooter.RandomAudio.PlayOnAwake = true

Should the clip selection happen during the object's awakening.


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