You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
public float PlaybackTime;
|
|
|
|
|
public float PlaybackDuration;
|
|
|
|
|
}
|
|
|
|
|
}
|