Files
Crash-Course/Assets/Scripts/Music/TrackLayer.cs
RochesterX 7b4bdd927e Music implementation, cloud art, and bug fixes
Implemented music
Added cloud tiles
Made players be able to stand on each others' heads
Synced the music and day/night cycle
Added a transition in to the gameplay scene
Fixed blocking while dying bug
2025-03-07 23:32:42 -05:00

17 lines
494 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
[System.Serializable]
public class TrackLayer
{
public string layerName;
public AudioClip layerTrack;
public enum EnableTrigger { Scene, Magnetism, Goal, Button, Toggle, Movement, ConstantForce, EndOfLevel, ElectromagneticPulse, Collectible };
public EnableTrigger enableTrigger = EnableTrigger.Scene;
public List<string> layerScenes;
public string triggerName;
}