Liberi
An exergame built for kids with CP!
SoundPool Class Reference

Sound pool. Allows on-demand playing of 3D sounds, with sound properties based on prefab. More...

Inherits MonoBehaviour.

Static Public Member Functions

static AudioSource Play (string clipId, float volume=1f, float pitch=1f)
 
static AudioSource Play (AudioClip clip, float volume=1f, float pitch=1f)
 
static AudioSource Play (string clipId, Vector3 position, float volume=1f, float pitch=1f)
 
static AudioSource Play (AudioClip clip, Vector3 position, float volume=1f, float pitch=1f)
 
static AudioSource Play (string clipId, Component target, float volume=1f, float pitch=1f)
 
static AudioSource Play (AudioClip clip, Component target, float volume=1f, float pitch=1f)
 
static AudioSource Play (string clipId, GameObject target, float volume=1f, float pitch=1f)
 
static AudioSource Play (AudioClip clip, GameObject target, float volume=1f, float pitch=1f)
 

Public Attributes

GameObject SourcePrefab
 

Detailed Description

Sound pool. Allows on-demand playing of 3D sounds, with sound properties based on prefab.

Definition at line 11 of file SoundPool.cs.


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