Added comments to everything

This commit is contained in:
djkellerman
2025-04-18 15:54:50 -04:00
parent a0305ea0e9
commit 213bb2d14b
39 changed files with 3166 additions and 1796 deletions

View File

@@ -1,17 +1,43 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine; using Game; using Music; using Player;
using UnityEngine;
using Game;
using Music;
using Player;
using UnityEngine.Audio;
namespace Music
{
/// <summary>
/// Represents a playlist of music tracks.
/// Contains information about the tracks, their associated scenes, and playback settings.
/// </summary>
[System.Serializable]
public class Playlist
{
/// <summary>
/// The name of the playlist.
/// </summary>
public string trackName;
[System.Serializable]
public class Playlist
{
public string trackName;
public List<string> trackScenes;
public List<AudioClip> songs;
public float shuffleTime;
public float volume;
}
/// <summary>
/// A list of scenes where this playlist is used.
/// </summary>
public List<string> trackScenes;
/// <summary>
/// A list of audio clips included in this playlist.
/// </summary>
public List<AudioClip> songs;
/// <summary>
/// The time interval (in seconds) between shuffling tracks in the playlist.
/// </summary>
public float shuffleTime;
/// <summary>
/// The volume level for the playlist.
/// </summary>
public float volume;
}
}