SamsonGame/Assets/Sources/Feel/MMTools/Tools/MMAudio/MMSoundManager/MMSoundManagerSound.cs

24 lines
696 B
C#
Raw Permalink Normal View History

2021-12-29 20:50:11 +03:00
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MoreMountains.Tools
{
/// <summary>
/// A simple struct used to store information about the sounds played by the MMSoundManager
/// </summary>
[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;
}
}