using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MoreMountains.Tools { /// /// A simple struct used to store information about the sounds played by the MMSoundManager /// [Serializable] public struct MMSoundManagerSound { /// the ID of the sound public int ID; /// the track the sound is being played on public MMSoundManager.MMSoundManagerTracks Track; /// the associated audiosource public AudioSource Source; /// whether or not this sound will play over multiple scenes public bool Persistent; public float PlaybackTime; public float PlaybackDuration; } }