Create a gist now

Instantly share code, notes, and snippets.

@tsubaki /MixerTest.cs Secret
Created May 20, 2015

What would you like to do?
using UnityEngine;
using System.Collections;
public class MixerTest : MonoBehaviour {
UnityEngine.Audio.AudioMixer mix;
void Start ()
var snapshot = mix.FindSnapshot("snapshot2");
var baseSnapshot = mix.FindSnapshot("Snapshot1");
new UnityEngine.Audio.AudioMixerSnapshot[]{baseSnapshot, snapshot},
new float[]{0, 1},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment