Question by
KortaMusik · Sep 10, 2015 at 12:49 AM ·
audiomixingsnapshot
How can I get the string name of the current snapshot of my AudioMixer?
http://docs.unity3d.com/ScriptReference/Audio.AudioMixer.FindSnapshot.html
This documentation is not very helpful
Comment
Best Answer
Answer by Positive7 · Sep 10, 2015 at 01:58 AM
That's for Finding a Snapshot by it's name e.g:
using UnityEngine;
using UnityEngine.Audio;
public class FindSnapshot : MonoBehaviour {
AudioMixer audiosnap;
void Start () {
audiosnap.FindSnapshot ("MySnapShotName");
}
}