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
17 lines
494 B
C#
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;
|
|
}
|