GameJam Progress Day 2

This commit is contained in:
2020-07-13 09:19:57 +02:00
parent 05867d287b
commit 00b63ee77a
52 changed files with 8786 additions and 23 deletions

View File

@@ -0,0 +1,27 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DebugAudio : MonoBehaviour
{
// Start is called before the first frame update
public MusicManager musicManager;
public AudioClip[] audioClips;
public bool current = true;
void Start()
{
}
// Update is called once per frame
void Update()
{
}
void OnMouseDown()
{
this.musicManager.CrossfadeToTrack(this.current ? this.audioClips[0] : this.audioClips[1]);
this.current = !this.current;
}
}